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

Compile Error

basketball_cpic.cpp: In function ‘int main()’:
basketball_cpic.cpp:8:9: error: ‘N’ was not declared in this scope
8 | int S [N] = {S[1], S[2], ..., S[N]};
| ^
basketball_cpic.cpp:8:15: error: ‘S’ was not declared in this scope
8 | int S [N] = {S[1], S[2], ..., S[N]};
| ^
basketball_cpic.cpp:8:27: error: expected primary-expression before ‘...’ token
8 | int S [N] = {S[1], S[2], ..., S[N]};
| ^~~
basketball_cpic.cpp:9:4: error: ‘i’ was not declared in this scope
9 | S[i] = 2;
| ^