Borderou de evaluare (job #2977918)

Utilizator LuciBBadea Lucian LuciB Data 12 februarie 2023 17:12:43
Problema Lexicografic Status done
Runda ONI 2019, Clasele 11-12 Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:21:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 21 | for(int i = 0; i < n; i++) | ^~~ main.cpp:23:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 23 | for(int i = 0; i < n; i++) | ^~~ main.cpp:27:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 27 | for(int i = 0; i < min(1LL * n, k + 1); i++) | ^~~ main.cpp:29:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 29 | int pos = 0; | ^~~ main.cpp:37:34: warning: comparison of integer expressions of different signedness: 'std::priority_queue<elem, std::vector<elem>, elem>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare] 37 | while(i < n && pq.size() < k + 1) { | ~~~~~~~~~~^~~~~~~ main.cpp:54:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 54 | for(int i = 0; i < n; i++) | ^~~ main.cpp:56:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 56 | fprintf(fout, "\n"); | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
160ms4620kbRaspuns gresit!0
20ms184kbRaspuns gresit!0
30ms184kbRaspuns gresit!0
40ms184kbRaspuns gresit!0
55ms315kbRaspuns gresit!0
663ms1138kbRaspuns gresit!0
771ms1814kbRaspuns gresit!0
858ms1007kbRaspuns gresit!0
998ms6733kbRaspuns gresit!0
1089ms6864kbRaspuns gresit!0
1180ms6922kbRaspuns gresit!0
1254ms6164kbRaspuns gresit!0
1362ms6819kbRaspuns gresit!0
14102ms6946kbCorect!5
Punctaj total5

Ceva nu functioneaza?