Borderou de evaluare (job #464027)

Utilizator avatar andreiomd Onut Andrei andreiomd IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 31 mar. 2019 20:34:54 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | freopen("romb.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:9:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | freopen("romb.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%d", &N); | ~~~~~^~~~~~~~~~ main.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | scanf("%c", &ch); | ~~~~~^~~~~~~~~~~ main.cpp:21:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | scanf("%c", &A[0][j]); | ~~~~~^~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 529 ms 1003 kb OK 10
6 539 ms 966 kb OK 10
7 179 ms 1032 kb Killed by Signal 11 0
8 189 ms 1056 kb Killed by Signal 11 0
9 209 ms 1056 kb Killed by Signal 11 0
10 209 ms 1048 kb Killed by Signal 11 0
Punctaj total 60