Borderou de evaluare (job #717530)

Utilizator avatar Laza_Andrei Lazarescu Andrei Vlad Laza_Andrei IP ascuns
Problemă Canale Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 30 apr. 2023 15:16:08 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:62:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | freopen("canale.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:63:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | freopen("canale.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:66:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | scanf("%d%d%d", &n, &m, &q); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:70:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | scanf("%d%d%d", &u, &v, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:99:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | scanf("%d%d", &u, &v); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:85:24: warning: 'nrmch' may be used uninitialized in this function [-Wmaybe-uninitialized] 85 | if(++nrmch == n-1) | ~~~~~~~~^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 69 ms 217 kb Incorect 0
3 209 ms 462 kb Incorect 0
4 309 ms 446 kb Time limit exceeded 0
5 309 ms 659 kb Time limit exceeded 0
6 309 ms 737 kb Time limit exceeded 0
7 309 ms 745 kb Time limit exceeded 0
8 309 ms 1277 kb Time limit exceeded 0
9 307 ms 1277 kb Time limit exceeded 0
10 309 ms 1273 kb Time limit exceeded 0
Punctaj total 0