Borderou de evaluare (job #691536)

Utilizator avatar MIHNEA_PURCAREA Nerdvana 8 MIHNEA PURCAREA MIHNEA_PURCAREA IP ascuns
Problemă Roboti (clasa a 6-a) Compilator c-32
Rundă Tema 16 clasa a 6-a Status evaluat
Dată 30 ian. 2023 16:48:21 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:52:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 52 | for(c = 0; c < n; c++) | ^~~ main.c:58:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 58 | fgetc(in); | ^~~~~ main.c:48:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | fscanf(in, "%d%d" ,&n, &p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:43:12: warning: array subscript 68 is above array bounds of 'char[17]' [-Warray-bounds] 43 | set_dir['D'] = 0; | ~~~~~~~^~~~~ main.c:15:6: note: while referencing 'set_dir' 15 | char set_dir['U'-'D']; | ^~~~~~~ main.c:44:12: warning: array subscript 82 is above array bounds of 'char[17]' [-Warray-bounds] 44 | set_dir['R'] = 1; | ~~~~~~~^~~~~ main.c:15:6: note: while referencing 'set_dir' 15 | char set_dir['U'-'D']; | ^~~~~~~ main.c:45:12: warning: array subscript 85 is above array bounds of 'char[17]' [-Warray-bounds] 45 | set_dir['U'] = 2; | ~~~~~~~^~~~~ main.c:15:6: note: while referencing 'set_dir' 15 | char set_dir['U'-'D']; | ^~~~~~~ main.c:46:12: warning: array subscript 76 is above array bounds of 'char[17]' [-Warray-bounds] 46 | set_dir['L'] = 3; | ~~~~~~~^~~~~ main.c:15:6: note: while referencing 'set_dir' 15 | char set_dir['U'-'D']; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 2 ms 118 kb Killed by Signal 11 0
Punctaj total 0