Borderou de evaluare (job #772716)

Utilizator avatar Rradu_v2 Catana Radu Rradu_v2 IP ascuns
Problemă Restaurare (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 7 apr. 2024 22:07:32 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:18: warning: unused variable 'j' [-Wunused-variable] 10 | int n, q, i, j, maxh, minh ,a, b; | ^ main.cpp:14:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &n); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:15:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &a); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:20:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &b); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:49:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | fscanf(fin, "%d", &q); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:52:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fscanf(fin, "%d", &a); | ~~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 241 kb OK 5
3 1 ms 266 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 249 kb OK 5
8 9 ms 249 kb OK 5
9 9 ms 270 kb OK 5
10 19 ms 512 kb OK 5
11 29 ms 507 kb OK 5
12 49 ms 528 kb OK 5
13 29 ms 503 kb OK 5
14 39 ms 512 kb OK 5
15 69 ms 458 kb OK 5
16 59 ms 278 kb OK 5
17 99 ms 466 kb OK 5
18 119 ms 483 kb OK 5
19 159 ms 589 kb OK 5
20 1 ms 266 kb OK 5
Punctaj total 100