Pagini recente » Borderou de evaluare (job #342212) | Borderou de evaluare (job #77521) | Borderou de evaluare (job #1544691) | Borderou de evaluare (job #3212118) | Borderou de evaluare (job #1572458)
Borderou de evaluare (job #1572458)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
str[i] = C[str[i]];
^
user.cpp:54:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++cnt[index][str[j]];
^
user.cpp:57:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (cnt[index][str[j]] > cnt[index][max_index[index]])
^
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str + 1);
^
user.cpp:74:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line);
^
/tmp/cc7QMD9l.o: In function `main':
user.cpp:(.text.startup+0x34d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1976kb | OK | 10 |
2 | 0ms | 2028kb | OK | 10 |
3 | 12ms | 2192kb | OK | 10 |
4 | 28ms | 2072kb | OK | 10 |
5 | 76ms | 2028kb | OK | 10 |
6 | 124ms | 2436kb | OK | 10 |
7 | 280ms | 2676kb | OK | 10 |
8 | 424ms | 2908kb | OK | 10 |
9 | 684ms | 3152kb | OK | 10 |
10 | Depăşit | 3372kb | Time limit exceeded. | 0 |
Punctaj total | 90 |