Borderou de evaluare (job #2232674)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 20 august 2018 15:19:27
Problema Traseu3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 46

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
14ms7672kbCorect!5
2248ms14692kbSolutie incorecta!2
38ms8252kbSolutie incorecta!2
44ms7536kbSolutie incorecta!2
54ms7676kbSolutie incorecta!2
68ms8516kbSolutie incorecta!2
720ms9476kbSolutie incorecta!2
840ms10848kbSolutie incorecta!2
9108ms13244kbSolutie incorecta!2
10272ms16736kbSolutie incorecta!2
11264ms16732kbSolutie incorecta!2
1256ms11792kbSolutie incorecta!2
13124ms14296kbCorect!5
1468ms12576kbSolutie incorecta!2
15204ms15208kbSolutie incorecta!2
16284ms16736kbSolutie incorecta!2
17256ms16736kbSolutie incorecta!2
18248ms16736kbSolutie incorecta!2
19268ms16736kbSolutie incorecta!2
20252ms16732kbSolutie incorecta!2
Punctaj total46

Ceva nu functioneaza?