Borderou de evaluare (job #624948)

Utilizator avatar raresmihai Iordache Rares Mihai raresmihai IP ascuns
Problemă Max Update & Query (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 ian. 2022 10:18:57 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void updateUp(int)': main.cpp:46:13: warning: unused variable 'updateVal' [-Wunused-variable] 46 | long long updateVal; | ^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:126:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | fscanf(fin, "%d%d%lld%lld%lld", &n, &m, &a, &b, &c); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:132:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fscanf(fin, "%d", &q); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:135:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | fscanf(fin, "%d%d", &left, &right); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:141:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | fscanf(fin, "%d%d%lld", &left, &right, &val); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 249 kb OK 10
4 105 ms 1376 kb OK 10
5 234 ms 5136 kb OK 10
6 1 ms 512 kb Killed by Signal 11 0
7 1 ms 507 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 8 ms 905 kb Killed by Signal 11 0
10 10 ms 905 kb Killed by Signal 11 0
Punctaj total 50