Pagini recente » Borderou de evaluare (job #1161203) | Borderou de evaluare (job #898992) | Borderou de evaluare (job #2200577) | Borderou de evaluare (job #2018588) | Borderou de evaluare (job #2232674)
Borderou de evaluare (job #2232674)
Raport evaluator
Compilare:
user.cpp: In function ‘void go(char, char, char, char, char, char)’:
user.cpp:64:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].h = road[h1][l1][c1].h;
^
user.cpp:64:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].h = road[h1][l1][c1].h;
^
user.cpp:64:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].h = road[h1][l1][c1].h;
^
user.cpp:65:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].l = road[h1][l1][c1].l;
^
user.cpp:65:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].l = road[h1][l1][c1].l;
^
user.cpp:65:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].l = road[h1][l1][c1].l;
^
user.cpp:66:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].c = road[h1][l1][c1].c;
^
user.cpp:66:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].c = road[h1][l1][c1].c;
^
user.cpp:66:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[nr].c = road[h1][l1][c1].c;
^
user.cpp: In function ‘int main()’:
user.cpp:81:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf (fin, "%d%d%d", &h1, &l1, &c1);
^
user.cpp:81:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:81:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:82:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf (fin, "%d%d%d", &h2, &l2, &c2);
^
user.cpp:82:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:82:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:84:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf (fin, "%d%d%d", &h, &l, &c);
^
user.cpp:84:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:84:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:85:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[h][l][c] = 1;
^
user.cpp:85:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[h][l][c] = 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 7672kb | Corect! | 5 |
| 2 | 248ms | 14692kb | Solutie incorecta! | 2 |
| 3 | 8ms | 8252kb | Solutie incorecta! | 2 |
| 4 | 4ms | 7536kb | Solutie incorecta! | 2 |
| 5 | 4ms | 7676kb | Solutie incorecta! | 2 |
| 6 | 8ms | 8516kb | Solutie incorecta! | 2 |
| 7 | 20ms | 9476kb | Solutie incorecta! | 2 |
| 8 | 40ms | 10848kb | Solutie incorecta! | 2 |
| 9 | 108ms | 13244kb | Solutie incorecta! | 2 |
| 10 | 272ms | 16736kb | Solutie incorecta! | 2 |
| 11 | 264ms | 16732kb | Solutie incorecta! | 2 |
| 12 | 56ms | 11792kb | Solutie incorecta! | 2 |
| 13 | 124ms | 14296kb | Corect! | 5 |
| 14 | 68ms | 12576kb | Solutie incorecta! | 2 |
| 15 | 204ms | 15208kb | Solutie incorecta! | 2 |
| 16 | 284ms | 16736kb | Solutie incorecta! | 2 |
| 17 | 256ms | 16736kb | Solutie incorecta! | 2 |
| 18 | 248ms | 16736kb | Solutie incorecta! | 2 |
| 19 | 268ms | 16736kb | Solutie incorecta! | 2 |
| 20 | 252ms | 16732kb | Solutie incorecta! | 2 |
| Punctaj total | 46 |