Pagini recente » Borderou de evaluare (job #499531) | Borderou de evaluare (job #2933936) | Borderou de evaluare (job #2690346) | Borderou de evaluare (job #245985) | Borderou de evaluare (job #1368975)
Borderou de evaluare (job #1368975)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Word_cmp(Word, Word)’:
user.cpp:31:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[a.s[i]] < val[b.s[i]])
^
user.cpp:31:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[a.s[i]] < val[b.s[i]])
^
user.cpp:33:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(val[a.s[i]] > val[b.s[i]])
^
user.cpp:33:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(val[a.s[i]] > val[b.s[i]])
^
user.cpp: In function ‘int main()’:
user.cpp:43:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[22]’ [-Wformat=]
scanf("%s", &S);
^
user.cpp:45:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[S[i]] = i + 1;
^
user.cpp:51:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[22]’ [-Wformat=]
scanf("%s", &S);
^
user.cpp:55:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x = (x * 10 + val[S[j]]) % MOD;
^
user.cpp:67:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5]’ [-Wformat=]
scanf("%s", &v[i].s);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in", "r", stdin);
^
user.cpp:40:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w", stdout);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t, &N);
^
user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &S);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &S);
^
user.cpp:67:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &v[i].s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 396kb | OK | 5 |
2 | 0ms | 408kb | Incorect | 0 |
3 | 16ms | 540kb | Incorect | 0 |
4 | 28ms | 552kb | Incorect | 0 |
5 | 56ms | 544kb | Incorect | 0 |
6 | 112ms | 552kb | Incorect | 0 |
7 | 0ms | 388kb | OK | 5 |
8 | 0ms | 400kb | OK | 5 |
9 | 0ms | 400kb | OK | 5 |
10 | 4ms | 412kb | OK | 5 |
11 | 12ms | 440kb | OK | 5 |
12 | 28ms | 492kb | OK | 5 |
13 | 56ms | 580kb | OK | 5 |
14 | 120ms | 784kb | OK | 5 |
15 | 152ms | 876kb | OK | 5 |
16 | 240ms | 1116kb | OK | 5 |
17 | Depăşit | 1364kb | Time limit exceeded. | 0 |
18 | Depăşit | 1612kb | Time limit exceeded. | 0 |
19 | Depăşit | 1952kb | Time limit exceeded. | 0 |
20 | Depăşit | 2324kb | Time limit exceeded. | 0 |
Punctaj total | 55 |