Pagini recente » Borderou de evaluare (job #2337463) | Borderou de evaluare (job #1060459) | Borderou de evaluare (job #1269353) | Borderou de evaluare (job #1811870) | Borderou de evaluare (job #1608328)
Borderou de evaluare (job #1608328)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sePoate(char, int, int)’:
user.cpp:50:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!calculat[subst][st][dr]) {
^
user.cpp:51:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
calculat[subst][st][dr] = true;
^
user.cpp:54:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = trans[subst][sir[st]];
^
user.cpp:54:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = trans[subst][sir[st]];
^
user.cpp:54:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = trans[subst][sir[st]];
^
user.cpp:56:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i = 0; i < sparg[subst].size(); ++i)
^
user.cpp:56:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sparg[subst].size(); ++i)
^
user.cpp:58:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (sePoate(sparg[subst][i].first, st, poz) &&
^
user.cpp:59:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sePoate(sparg[subst][i].second, poz + 1, dr))
^
user.cpp:60:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return posibil[subst][st][dr] = true;
^
user.cpp:62:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
posibil[subst][st][dr] = false;
^
user.cpp:66:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return posibil[subst][st][dr];
^
user.cpp: In function ‘int main()’:
user.cpp:84:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sparg[inst].push_back(make_pair(c1, c2));
^
user.cpp:87:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
trans[inst][c1] = true;
^
user.cpp:87:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
trans[inst][c1] = true;
^
user.cpp:70: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 | 780kb | OK | 10 |
2 | 0ms | 788kb | OK | 10 |
3 | 0ms | 788kb | OK | 10 |
4 | 44ms | 792kb | OK | 10 |
5 | 16ms | 788kb | OK | 10 |
6 | 24ms | 788kb | OK | 10 |
7 | 12ms | 784kb | OK | 10 |
8 | 64ms | 788kb | OK | 10 |
9 | 120ms | 792kb | OK | 10 |
10 | 128ms | 792kb | OK | 10 |
Punctaj total | 100 |