Problem basketball_cpic
User gisellariddlemorozova834
Submission Time 2025-06-20 16:25:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

basketball_cpic.cpp: In function ‘int main()’:
basketball_cpic.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
basketball_cpic.cpp:8:2: note: in expansion of macro ‘int’
8 | int N = 16;
| ^~~
basketball_cpic.cpp:8:6: error: ‘N’ was not declared in this scope
8 | int N = 16;
| ^
basketball_cpic.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
basketball_cpic.cpp:9:2: note: in expansion of macro ‘int’
9 | int S[N] = {S[1], S[2], ..., S[N]};
| ^~~
basketball_cpic.cpp:9:6: error: ‘S’ was not declared in this scope
9 | int S[N] = {S[1], S[2], ..., S[N]};
| ^
basketball_cpic.cpp:9:26: error: expected primary-expression before ‘...’ token
9 | int S[N] = {S[1], S[2], ..., S[N]};
|