Borderou de evaluare (job #751304)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cadouri | Compilator | cpp-32 |
Rundă | vs_7_8_9_dec | Status | evaluat |
Dată | 16 dec. 2023 10:28:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:13: error: expected unqualified-id before ',' token
18 | int n,i,,x,sum=0,k,ct=0;
| ^
main.cpp:32:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
32 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
34 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:18:11: warning: unused variable 'i' [-Wunused-variable]
18 | int n,i,,x,sum=0,k,ct=0;
| ^