Borderou de evaluare (job #1941587)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 27 martie 2017 14:30:30
Problema Minerale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] NT[pright[i][0]].push_back(pleft[i][0] - 'A'); ^ user.cpp:36:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (j = 0; j < NT[sir[i]].size(); j++) { ^ user.cpp:36:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < NT[sir[i]].size(); j++) { ^ user.cpp:37:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] okNT[i][i].push_back(NT[sir[i]][j]); ^ user.cpp:55:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (oki = 0; oki < okNT[i][k].size(); oki++) { ^ user.cpp:57:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (okj = 0; okj < okNT[k + 1][j].size(); okj++) { ^ user.cpp:60:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (okk = 0; okk < prod[A][B].size(); okk++) { ^ user.cpp:60:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (okk = 0; okk < prod[A][B].size(); okk++) { ^ user.cpp:60:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (okk = 0; okk < prod[A][B].size(); okk++) { ^ user.cpp:61:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] C = prod[A][B][okk]; ^ user.cpp:61:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] C = prod[A][B][okk]; ^ user.cpp:84:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < okNT[1][L].size(); i++) { ^ user.cpp:89:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < okNT[1][L].size()) ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("minerale.in", "r", stdin); ^ user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("minerale.out", "w", stdout); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &R, &M); ^ user.cpp:20:38: 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
10ms588kbOK10
20ms580kbOK10
34ms636kbOK10
4168ms652kbOK10
5380ms664kbOK10
6412ms608kbOK10
7208ms600kbOK10
8Depăşit656kbTime limit exceeded.0
9Depăşit644kbTime limit exceeded.0
10Depăşit640kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?