Borderou de evaluare (job #2051370)

Utilizator giotoPopescu Ioan gioto Data 28 octombrie 2017 21:02:34
Problema Seif Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(p[0][c] < i) p[0][c] = Next[0][p[0][c]]; ^ user.cpp:40:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(p[0][c] < i) p[0][c] = Next[0][p[0][c]]; ^ user.cpp:40:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(p[0][c] < i) p[0][c] = Next[0][p[0][c]]; ^ user.cpp:41:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(p[1][c] < j) p[1][c] = Next[1][p[1][c]]; ^ user.cpp:41:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(p[1][c] < j) p[1][c] = Next[1][p[1][c]]; ^ user.cpp:41:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(p[1][c] < j) p[1][c] = Next[1][p[1][c]]; ^ user.cpp:42:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(d[p[0][c]][p[1][c]] >= k && p[0][c] <= L1 && p[1][c] <= L2){ ^ user.cpp:42:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(d[p[0][c]][p[1][c]] >= k && p[0][c] <= L1 && p[1][c] <= L2){ ^ user.cpp:42:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(d[p[0][c]][p[1][c]] >= k && p[0][c] <= L1 && p[1][c] <= L2){ ^ user.cpp:42:71: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(d[p[0][c]][p[1][c]] >= k && p[0][c] <= L1 && p[1][c] <= L2){ ^ user.cpp:44:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] i = p[0][c] + 1; j = p[1][c] + 1; ^ user.cpp:44:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] i = p[0][c] + 1; j = p[1][c] + 1; ^ user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("seif.in", "r", stdin); ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("seif.out", "w", stdout); ^ user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms4392kbOK10
212ms4388kbOK10
316ms4384kbOK10
428ms4392kbOK10
544ms4384kbOK10
648ms4388kbOK10
760ms4388kbOK10
872ms4384kbOK10
972ms4392kbOK10
1072ms4388kbOK10
Punctaj total100

Ceva nu functioneaza?