Problem snail
User JhoCyber
Submission Time 2024-12-19 20:29:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snail.cpp: In function ‘int32_t main()’:
snail.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
snail.cpp:6:14: note: in expansion of macro ‘int’
6 | unsigned int h,n;// h is height of the hole n is the event
| ^~~
snail.cpp:6:18: error: ‘h’ was not declared in this scope
6 | unsigned int h,n;// h is height of the hole n is the event
| ^
snail.cpp:6:20: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | unsigned int h,n;// h is height of the hole n is the event
| ^
| yn
snail.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
snail.cpp:7:12: note: in expansion of macro ‘int’
7 | signed int event;
| ^~~
snail.cpp:7: