Borderou de evaluare (job #1608328)

Utilizator thewildnathNathan Wildenberg thewildnath Data 21 februarie 2016 23:39:43
Problema Minerale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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
10ms780kbOK10
20ms788kbOK10
30ms788kbOK10
444ms792kbOK10
516ms788kbOK10
624ms788kbOK10
712ms784kbOK10
864ms788kbOK10
9120ms792kbOK10
10128ms792kbOK10
Punctaj total100

Ceva nu functioneaza?