Pagini recente » Borderou de evaluare (job #2749409) | Borderou de evaluare (job #1941587)
Borderou de evaluare (job #1941587)
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 |
1 | 0ms | 588kb | OK | 10 |
2 | 0ms | 580kb | OK | 10 |
3 | 4ms | 636kb | OK | 10 |
4 | 168ms | 652kb | OK | 10 |
5 | 380ms | 664kb | OK | 10 |
6 | 412ms | 608kb | OK | 10 |
7 | 208ms | 600kb | OK | 10 |
8 | Depăşit | 656kb | Time limit exceeded. | 0 |
9 | Depăşit | 644kb | Time limit exceeded. | 0 |
10 | Depăşit | 640kb | Time limit exceeded. | 0 |
Punctaj total | 70 |