Pagini recente » Borderou de evaluare (job #101187) | Borderou de evaluare (job #916189) | Borderou de evaluare (job #1264) | Borderou de evaluare (job #985972) | Borderou de evaluare (job #2019647)
Borderou de evaluare (job #2019647)
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:19:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ch != last && f[ch] > 0) {
^
user.cpp:22:13: 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 | 264kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 16ms | 360kb | Incorect | 0 |
6 | 48ms | 560kb | Incorect | 0 |
7 | 60ms | 652kb | Incorect | 0 |
8 | 108ms | 956kb | Incorect | 0 |
9 | 136ms | 1140kb | Incorect | 0 |
10 | 72ms | 776kb | Incorect | 0 |
Punctaj total | 0 |