Borderou de evaluare (job #824148)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Eoliene (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 mai 2025 20:25:24 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
20 | for(int i = 1 ; i <= n ; i ++ )
| ^~~
main.cpp:23:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
23 | sort(v+1,v+n+1,Cmp);
| ^~~~
main.cpp:23:13: error: 'sort' was not declared in this scope; did you mean 'short'?
23 | sort(v+1,v+n+1,Cmp);
| ^~~~
| short