Borderou de evaluare (job #624277)

Utilizator avatar raresmihai Iordache Rares Mihai raresmihai IP ascuns
Problemă Sum Update & Query (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 ian. 2022 15:26:56 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | fscanf(fin, "%d%d", &n, &q); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:52:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fscanf(fin, "%d", &qnr); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:55:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fscanf(fin, "%d%d%d", &a, &b, &val); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:58:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | fscanf(fin, "%d%d", &a, &b); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~
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 114 kb OK 10
4 600 ms 241 kb Time limit exceeded 0
5 602 ms 512 kb Time limit exceeded 0
6 605 ms 770 kb Time limit exceeded 0
7 602 ms 1167 kb Time limit exceeded 0
8 606 ms 1298 kb Time limit exceeded 0
9 604 ms 1298 kb Time limit exceeded 0
10 609 ms 1298 kb Time limit exceeded 0
Punctaj total 30