Borderou de evaluare (job #2051158)

Utilizator giotoPopescu Ioan gioto Data 28 octombrie 2017 16:43:23
Problema Seif Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
1Depăşit4364kbTime limit exceeded.0
2Depăşit4368kbTime limit exceeded.0
3Depăşit4372kbTime limit exceeded.0
4Depăşit4372kbTime limit exceeded.0
5Depăşit4372kbTime limit exceeded.0
6Depăşit4368kbTime limit exceeded.0
7Depăşit4368kbTime limit exceeded.0
8Depăşit4372kbTime limit exceeded.0
9Depăşit4368kbTime limit exceeded.0
10Depăşit4372kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?