Borderou de evaluare (job #690256)

Utilizator avatar andrei81 Ragman Andrei Adrian andrei81 IP ascuns
Problemă Capitala Compilator cpp-32
Rundă cex_11_12_ian_2023 Status evaluat
Dată 25 ian. 2023 17:18:10 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | freopen("capitala.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:18:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | freopen("capitala.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:19:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:24:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | scanf("%d %d", &a, &b); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:54:19: warning: 'nrmaxx' may be used uninitialized in this function [-Wmaybe-uninitialized] 54 | nrmaxx++; | ~~~~~~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Killed by Signal 4 0
2 1 ms 118 kb Killed by Signal 4 0
3 1 ms 118 kb Killed by Signal 4 0
4 1 ms 114 kb Killed by Signal 4 0
5 1 ms 114 kb Killed by Signal 4 0
6 1 ms 118 kb Killed by Signal 4 0
7 1 ms 118 kb Killed by Signal 4 0
8 1 ms 118 kb Killed by Signal 4 0
9 1 ms 114 kb Killed by Signal 4 0
10 2 ms 118 kb Killed by Signal 4 0
Punctaj total 0