Borderou de evaluare (job #636432)

Utilizator avatar palc Palcu Stefan palc IP ascuns
Problemă Patrat2 Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 28 feb. 2022 08:25:59 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 29 | if (x = -q.top()); | ~~^~~~~~~~~~ main.cpp:29:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 29 | if (x = -q.top()); | ^~ main.cpp:30:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 30 | { | ^ main.cpp:35:18: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 35 | fout << x << "\n"; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 97 ms 2461 kb OK 10
4 105 ms 8753 kb Time limit exceeded 0
5 107 ms 8753 kb Time limit exceeded 0
6 102 ms 8884 kb Time limit exceeded 0
7 104 ms 8880 kb Time limit exceeded 0
8 91 ms 16998 kb Memory limit exceeded 0
9 92 ms 16732 kb Memory limit exceeded 0
10 98 ms 17133 kb Memory limit exceeded 0
Punctaj total 10