Borderou de evaluare (job #625509)

Utilizator avatar andrei81 Ragman Andrei Adrian andrei81 IP ascuns
Problemă Zapada (clasele 11 și 12) Compilator cpp-32 | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 15 ian. 2022 19:05:05 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void kruskal()': main.cpp:27:19: warning: unused variable 'cnt' [-Wunused-variable] 27 | int cost = 0, cnt = 0, ck = 0; | ^~~ main.cpp: In function 'int main()': main.cpp:72:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 72 | if ( c < maxx ) | ^ main.cpp:54:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | freopen("zapada.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:55:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | freopen("zapada.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:56:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | scanf("%d %d %d", &n, &m, &k); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:60:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | scanf("%d %d %d", &a, &b, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:69:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | scanf("%d %d %d", &a, &b, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
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 118 kb OK 10
4 1 ms 118 kb OK 10
5 117 ms 1294 kb OK 10
6 51 ms 376 kb OK 10
7 129 ms 368 kb OK 10
8 426 ms 1028 kb OK 10
9 502 ms 1429 kb Time limit exceeded 0
10 507 ms 1421 kb Time limit exceeded 0
Punctaj total 80