Borderou de evaluare (job #1262818)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 13 noiembrie 2014 16:15:09
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d", &A[i][j]); ^ user.cpp:33:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] for(i = 1; i <= k; i++) scanf("%d", &c[i]); ^ user.cpp:51:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(best[nexts.X][nexts.Y] < best[state.X][state.Y] + A[nexts.X][nexts.Y]) ^ user.cpp:51:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(best[nexts.X][nexts.Y] < best[state.X][state.Y] + A[nexts.X][nexts.Y]) ^ user.cpp:51:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(best[nexts.X][nexts.Y] < best[state.X][state.Y] + A[nexts.X][nexts.Y]) ^ user.cpp:51:66: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(best[nexts.X][nexts.Y] < best[state.X][state.Y] + A[nexts.X][nexts.Y]) ^ user.cpp:51:79: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(best[nexts.X][nexts.Y] < best[state.X][state.Y] + A[nexts.X][nexts.Y]) ^ user.cpp:51:88: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(best[nexts.X][nexts.Y] < best[state.X][state.Y] + A[nexts.X][nexts.Y]) ^ user.cpp:53:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[nexts.X][nexts.Y] = best[state.X][state.Y] + A[nexts.X][nexts.Y]; ^ user.cpp:53:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[nexts.X][nexts.Y] = best[state.X][state.Y] + A[nexts.X][nexts.Y]; ^ user.cpp:53:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[nexts.X][nexts.Y] = best[state.X][state.Y] + A[nexts.X][nexts.Y]; ^ user.cpp:53:67: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[nexts.X][nexts.Y] = best[state.X][state.Y] + A[nexts.X][nexts.Y]; ^ user.cpp:53:80: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[nexts.X][nexts.Y] = best[state.X][state.Y] + A[nexts.X][nexts.Y]; ^ user.cpp:53:89: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[nexts.X][nexts.Y] = best[state.X][state.Y] + A[nexts.X][nexts.Y]; ^ user.cpp:54:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] bestx[nexts.X][nexts.Y] = state.X; ^ user.cpp:54:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] bestx[nexts.X][nexts.Y] = state.X; ^ user.cpp:55:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbOKAY!10
20ms316kbOKAY!10
30ms316kbOKAY!10
40ms316kbOKAY!10
50ms336kbOKAY!10
60ms348kbOKAY!10
70ms352kbOKAY!10
80ms344kbOKAY!10
90ms344kbOKAY!10
100ms308kbOKAY!10
Punctaj total100

Ceva nu functioneaza?