Borderou de evaluare (job #791787)

Utilizator avatar ucenic_info Vladimirescu Tudor ucenic_info IP ascuns
Problemă Maximum Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 oct. 2024 18:46:36 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:32:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | freopen("maximum.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:33:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | freopen("maximum.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:42:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | scanf("%lld", &t); | ~~~~~^~~~~~~~~~~~ main.cpp:45:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | scanf("%lld", &x); | ~~~~~^~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 5
2 1 ms 507 kb OK 5
3 1 ms 507 kb OK 5
4 1 ms 765 kb OK 5
5 1 ms 503 kb OK 5
6 1 ms 524 kb OK 5
7 1 ms 507 kb OK 5
8 1 ms 507 kb OK 5
9 9 ms 503 kb OK 5
10 19 ms 499 kb OK 5
11 9 ms 512 kb OK 5
12 9 ms 507 kb OK 5
13 129 ms 716 kb OK 5
14 69 ms 749 kb OK 5
15 169 ms 712 kb OK 5
16 79 ms 745 kb OK 5
17 29 ms 499 kb OK 5
18 99 ms 741 kb OK 5
19 329 ms 688 kb OK 5
20 119 ms 737 kb OK 5
Punctaj total 100