Borderou de evaluare (job #2965469)

Utilizator RobertlelRobert Robertlel Data 15 ianuarie 2023 13:29:50
Problema Inv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int querry(int)': main.cpp:24:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 24 | for (int i = poz ; i > 0 ; i -= (i&-i)) | ^~~ main.cpp:26:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 26 | return sum; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:33:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 33 | for (int i = 1 ; i <= n ; i++) | ^~~ main.cpp:36:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 36 | sort (a + 1 , a + n + 1); | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
33ms446kbOK10
410ms708kbOK10
512ms987kbOK10
615ms1097kbOK10
718ms1179kbOK10
817ms1257kbOK10
925ms1466kbOK10
100ms184kbOK10
Punctaj total100

Ceva nu functioneaza?