Pagini recente » Borderou de evaluare (job #321305) | Borderou de evaluare (job #2374675) | Borderou de evaluare (job #687727) | Borderou de evaluare (job #1622924) | Borderou de evaluare (job #1608351)
Borderou de evaluare (job #1608351)
Raport evaluator
Compilare:
user.cpp: In function ‘int sePoate2(int, int)’:
user.cpp:26:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (trans[ch][sir[st]])
^
user.cpp:35: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 |
1 | 0ms | 316kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 68ms | 324kb | OK | 10 |
4 | 248ms | 328kb | OK | 10 |
5 | 348ms | 324kb | OK | 10 |
6 | 612ms | 320kb | OK | 10 |
7 | 424ms | 320kb | OK | 10 |
8 | Depăşit | 324kb | Time limit exceeded. | 0 |
9 | Depăşit | 328kb | Time limit exceeded. | 0 |
10 | Depăşit | 332kb | Time limit exceeded. | 0 |
Punctaj total | 70 |