Pagini recente » Borderou de evaluare (job #198690) | Borderou de evaluare (job #1495332) | Borderou de evaluare (job #2729439) | Borderou de evaluare (job #1488545) | Borderou de evaluare (job #2019655)
Borderou de evaluare (job #2019655)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[s[i]]++;
^
user.cpp:21:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ch != last && f[ch] == (N - i) / 2 + 1) {
^
user.cpp:28:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ch != last && f[ch] != 0) {
^
user.cpp:34:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[ch]--;
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ordine.in", "r", stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ordine.out", "w", stdout);
^
user.cpp:11:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 20ms | 364kb | OK | 10 |
6 | 64ms | 556kb | OK | 10 |
7 | 84ms | 660kb | OK | 10 |
8 | 152ms | 948kb | OK | 10 |
9 | 196ms | 1148kb | OK | 10 |
10 | 108ms | 776kb | OK | 10 |
Punctaj total | 100 |