Borderou de evaluare (job #372083)

Utilizator avatar ana_valeria Ana Valeria Duguleanu ana_valeria IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 mar. 2018 08:04:27 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 1273 kb OK 10
6 569 ms 1269 kb Incorect 0
7 599 ms 1241 kb OK 10
8 576 ms 1212 kb Incorect 0
9 689 ms 1110 kb OK 10
10 637 ms 1110 kb Incorect 0
Punctaj total 60