Borderou de evaluare (job #2561005)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 28 februarie 2020 14:52:59
Problema Seif Status done
Runda sim11_1 Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:29: warning: array subscript has type 'char' [-Wchar-subscripts] while(p[0][c] < i) p[0][c] = Next[0][p[0][c]]; ^ main.cpp:40:42: warning: array subscript has type 'char' [-Wchar-subscripts] while(p[0][c] < i) p[0][c] = Next[0][p[0][c]]; ^ main.cpp:40:60: warning: array subscript has type 'char' [-Wchar-subscripts] while(p[0][c] < i) p[0][c] = Next[0][p[0][c]]; ^ main.cpp:41:29: warning: array subscript has type 'char' [-Wchar-subscripts] while(p[1][c] < j) p[1][c] = Next[1][p[1][c]]; ^ main.cpp:41:42: warning: array subscript has type 'char' [-Wchar-subscripts] while(p[1][c] < j) p[1][c] = Next[1][p[1][c]]; ^ main.cpp:41:60: warning: array subscript has type 'char' [-Wchar-subscripts] while(p[1][c] < j) p[1][c] = Next[1][p[1][c]]; ^ main.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){ ^ main.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){ ^ main.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){ ^ main.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){ ^ main.cpp:44:31: warning: array subscript has type 'char' [-Wchar-subscripts] i = p[0][c] + 1; j = p[1][c] + 1; ^ main.cpp:44:48: warning: array subscript has type 'char' [-Wchar-subscripts] i = p[0][c] + 1; j = p[1][c] + 1; ^ main.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); ^ main.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); ^ main.cpp:12:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.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
125ms4194kbOK10
226ms4194kbOK10
328ms4194kbOK10
439ms4194kbOK10
557ms4194kbOK10
662ms4194kbOK10
773ms4194kbOK10
886ms4194kbOK10
986ms4194kbOK10
1084ms4194kbOK10
Punctaj total100

Ceva nu functioneaza?