Borderou de evaluare (job #700654)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Zigzag (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 mar. 2023 12:40:56 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void print_vector(int, char*)': main.cpp:18:10: warning: unused variable 'space' [-Wunused-variable] 18 | char space; | ^~~~~ main.cpp: In function 'void read_vector(int, char*)': main.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | scanf("%c", &v[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp:13:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | scanf("%c", &space); | ~~~~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:44:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | freopen("zigzag.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:45:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | freopen("zigzag.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | scanf("%d%d", &c,&n); | ~~~~~^~~~~~~~~~~~~~~
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 Incorect 0
4 1 ms 245 kb Incorect 0
5 9 ms 237 kb Incorect 0
6 9 ms 245 kb Incorect 0
7 19 ms 229 kb Incorect 0
8 29 ms 208 kb Incorect 0
9 29 ms 212 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 10