Pagini recente » Borderou de evaluare (job #1565979) | Borderou de evaluare (job #2050496) | Borderou de evaluare (job #143060) | Borderou de evaluare (job #2049369) | Borderou de evaluare (job #2019777)
Borderou de evaluare (job #2019777)
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 | 256kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 20ms | 364kb | OK | 10 |
6 | 60ms | 556kb | OK | 10 |
7 | 84ms | 660kb | OK | 10 |
8 | 152ms | 956kb | OK | 10 |
9 | 192ms | 1144kb | OK | 10 |
10 | 108ms | 780kb | OK | 10 |
Punctaj total | 100 |