Borderou de evaluare (job #303482)

Utilizator avatar STEFAN18 Shaorma3000 Taco9000 STEFAN18 IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 21 apr. 2017 11:49:50 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | freopen("romb.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:11:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | freopen("romb.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | scanf("%d\n",&n); | ~~~~~^~~~~~~~~~~ main.cpp:18:16: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | scanf("%c",&v[i]); | ~~~~~^~~~~~~~~~~~ main.cpp:28:16: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | scanf("%c",&v[i]); | ~~~~~^~~~~~~~~~~~ main.cpp:40:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | scanf("%c",&a[l][i]); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:47:16: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | scanf("%c",&v[i]); | ~~~~~^~~~~~~~~~~~ main.cpp:57:16: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | scanf("%c",&v[i]); | ~~~~~^~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 549 ms 1015 kb OK 10
6 539 ms 1241 kb Incorect 0
7 549 ms 1261 kb OK 10
8 599 ms 1183 kb Incorect 0
9 689 ms 1093 kb OK 10
10 759 ms 1093 kb Incorect 0
Punctaj total 60