Borderou de evaluare (job #797794)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Nrdif (clasele 5-6) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 nov. 2024 16:15:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
11 | for(i=1;i<=n;i++)
| ^~~
main.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
13 | sort(v+1,v+n+1);
| ^~~~
main.cpp:20:19: error: expected ';' before '}' token
20 | dmax=d
| ^
| ;
21 | }
| ~