제출 #87021

#제출 시각아이디문제언어결과실행 시간메모리
87021YottaByte힘 센 거북 (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]; }

컴파일 시 표준 에러 (stderr) 메시지

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