Submission #87021

#TimeUsernameProblemLanguageResultExecution timeMemory
87021YottaByteEnergetic turtle (IZhO11_turtle)C++14
5 / 100
2092 ms1528 KiB
#include <iostream> using namespace std; #define fr first #define sc second const int mod = 1e9; const int N = 3e5; int d[N]; main() { int n, m, k, t, z; cin >> n >> m >> k >> t >> z; n++, m++; for(int i = 1; i <= k; i++) { int a, b; cin >> a >> b; } d[1] = 1; for(int i = 1; i <= n; i++) { for(int j = 1; j <= m; j++) { d[j] = d[j - 1] + d[j]; } } cout << d[m]; }

Compilation message (stderr)

turtle.cpp:12:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
#Verdict Execution timeMemoryGrader output
Fetching results...