Borderou de evaluare (job #1608353)

Utilizator thewildnathNathan Wildenberg thewildnath Data 22 februarie 2016 00:11:42
Problema Minerale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void sePoate2(int, int)’: user.cpp:26:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (trans[ch][sir[st]]) ^ user.cpp:37:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sparg[ch].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:62:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] sparg[inst].push_back(make_pair(c1, c2)); ^ user.cpp:65:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] trans[inst][c1] = true; ^ user.cpp:65:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] trans[inst][c1] = true; ^ user.cpp:48: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:49: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:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &r, &n); ^ user.cpp:56:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n%c %c", &inst, &c1); ^ user.cpp:59:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c2); ^ user.cpp:73:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n%s", sir); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms316kbOK10
20ms316kbOK10
368ms328kbOK10
4248ms328kbOK10
5344ms324kbOK10
6600ms320kbOK10
7416ms324kbOK10
8Depăşit332kbTime limit exceeded.0
9Depăşit336kbTime limit exceeded.0
10Depăşit328kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?