Problem snowball
User boaznumberd5555
Submission Time 2025-10-20 01:35:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snowball.cpp: In function ‘int32_t main()’:
snowball.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
snowball.cpp:5:2: note: in expansion of macro ‘int’
5 | int max = 0;
| ^~~
snowball.cpp:5:12: error: overloaded function with no contextual type information
5 | int max = 0;
| ^
snowball.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
snowball.cpp:6:2: note: in expansion of macro ‘int’
6 | int maxIndex = 0;
| ^~~
snowball.cpp:6:6: error: ‘maxIndex’ was not declared in this scope
6 | int maxIndex = 0;
| ^~~~~~~~
snowball.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
snowball.cpp:7:2: note: in expansion of macro ‘int