Pagini recente » Borderou de evaluare (job #3256156) | Borderou de evaluare (job #1943044) | Borderou de evaluare (job #372811) | Borderou de evaluare (job #896009) | Borderou de evaluare (job #1601130)
Borderou de evaluare (job #1601130)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sePoate(char, int, int)’:
user.cpp:19:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!calculat[subst][st][dr]) {
^
user.cpp:21:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return trans[subst][sir[st]];
^
user.cpp:21:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return trans[subst][sir[st]];
^
user.cpp:23:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i = 0; i < sparg[subst].size(); ++i)
^
user.cpp:23:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sparg[subst].size(); ++i)
^
user.cpp:25:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (sePoate(sparg[subst][i].first, st, poz) &&
^
user.cpp:26:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sePoate(sparg[subst][i].second, poz + 1, dr))
^
user.cpp:27:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return posibil[subst][st][dr] = true;
^
user.cpp:29:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = false;
^
user.cpp:33:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return posibil[subst][st][dr];
^
user.cpp: In function ‘int main()’:
user.cpp:51:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sparg[inst].push_back(make_pair(c1, c2));
^
user.cpp:54:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
trans[inst][c1] = true;
^
user.cpp:54:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
trans[inst][c1] = true;
^
user.cpp:37:37: 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:38:39: 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:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &r, &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 788kb | OK | 10 |
2 | 0ms | 784kb | OK | 10 |
3 | Depăşit | 780kb | Time limit exceeded. | 0 |
4 | Depăşit | 784kb | Time limit exceeded. | 0 |
5 | Depăşit | 760kb | Time limit exceeded. | 0 |
6 | Depăşit | 788kb | Time limit exceeded. | 0 |
7 | Depăşit | 764kb | Time limit exceeded. | 0 |
8 | Depăşit | 788kb | Time limit exceeded. | 0 |
9 | Depăşit | 780kb | Time limit exceeded. | 0 |
10 | Depăşit | 784kb | Time limit exceeded. | 0 |
Punctaj total | 20 |