Borderou de evaluare (job #613892)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Tombola (baraj gimnaziu) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 nov. 2021 18:15:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:19:27: error: expected ')' before ';' token
19 | for(int i=0;i<n;S.size();i++){
| ~ ^
| )
main.cpp:19:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
19 | for(int i=0;i<n;S.size();i++){
| ^~~
main.cpp:19:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
19 | for(int i=0;i<n;S.size();i++){
| ^
main.cpp:19:28: error: 'i' was not declared in this scope