Pagini recente » Borderou de evaluare (job #2562037) | Borderou de evaluare (job #2339761) | Borderou de evaluare (job #1517496) | Borderou de evaluare (job #1344732) | Borderou de evaluare (job #1608356)
Borderou de evaluare (job #1608356)
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:20:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
calculat[subst][st][dr] = true;
^
user.cpp:23:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = trans[subst][sir[st]];
^
user.cpp:23:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = trans[subst][sir[st]];
^
user.cpp:23:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = trans[subst][sir[st]];
^
user.cpp:25:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i = 0; i < sparg[subst].size(); ++i)
^
user.cpp:25:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sparg[subst].size(); ++i)
^
user.cpp:27:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (sePoate(sparg[subst][i].first, st, poz) &&
^
user.cpp:28:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sePoate(sparg[subst][i].second, poz + 1, dr))
^
user.cpp:29:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return posibil[subst][st][dr] = true;
^
user.cpp:31:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = false;
^
user.cpp:35:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return posibil[subst][st][dr];
^
user.cpp: In function ‘int main()’:
user.cpp:53:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sparg[inst].push_back(make_pair(c1, c2));
^
user.cpp:56:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
trans[inst][c1] = true;
^
user.cpp:56:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
trans[inst][c1] = true;
^
user.cpp:39: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 784kb | OK | 10 |
2 | 0ms | 784kb | OK | 10 |
3 | 0ms | 784kb | OK | 10 |
4 | 44ms | 784kb | OK | 10 |
5 | 16ms | 780kb | OK | 10 |
6 | 24ms | 788kb | OK | 10 |
7 | 16ms | 784kb | OK | 10 |
8 | 60ms | 792kb | OK | 10 |
9 | 116ms | 784kb | OK | 10 |
10 | 124ms | 788kb | OK | 10 |
Punctaj total | 100 |