Borderou de evaluare (job #625526)

Utilizator avatar Alex_Hossu Alexandru Hossu Alex_Hossu IP ascuns
Problemă Sum Update & Query (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 ian. 2022 20:06:37 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:52:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fscanf(fin, "%lld%lld", &n, &m); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:55:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fscanf(fin, "%lld", &q); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:57:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fscanf(fin, "%lld%lld%lld", &a, &b, &val); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:60:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fscanf(fin, "%lld%lld", &a, &b); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 2 ms 114 kb OK 10
3 2 ms 118 kb OK 10
4 36 ms 610 kb OK 10
5 96 ms 1880 kb OK 10
6 162 ms 2609 kb OK 10
7 311 ms 4374 kb OK 10
8 358 ms 4984 kb OK 10
9 432 ms 4915 kb OK 10
10 448 ms 5001 kb OK 10
Punctaj total 100