Pagini recente » Borderou de evaluare (job #2334368) | Borderou de evaluare (job #494508) | Borderou de evaluare (job #1855858) | Borderou de evaluare (job #2048262) | Borderou de evaluare (job #1965685)
Borderou de evaluare (job #1965685)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=1;i<=n;++i) ++fr[s[i]];
^
user.cpp:22:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[s[i]]==0) continue;
^
user.cpp:27:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]<bestch && fr[s[i]]) {
^
user.cpp:32:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[s[i]]==1) break;
^
user.cpp:33:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--fr[s[i]];
^
user.cpp:39:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++fr[s[i]];
^
user.cpp:43:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[bestch]=0;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 424kb | OK | 5 |
| 2 | 0ms | 424kb | OK | 5 |
| 3 | 0ms | 428kb | Incorect | 0 |
| 4 | 4ms | 428kb | Incorect | 0 |
| 5 | 4ms | 432kb | Incorect | 0 |
| 6 | 0ms | 432kb | Incorect | 0 |
| 7 | 0ms | 424kb | Incorect | 0 |
| 8 | 4ms | 432kb | Incorect | 0 |
| 9 | 0ms | 428kb | Incorect | 0 |
| 10 | 0ms | 428kb | Incorect | 0 |
| 11 | 0ms | 524kb | Incorect | 0 |
| 12 | 4ms | 524kb | Incorect | 0 |
| 13 | 4ms | 524kb | Incorect | 0 |
| 14 | 4ms | 528kb | Incorect | 0 |
| 15 | 52ms | 1404kb | Incorect | 0 |
| 16 | 44ms | 1404kb | Incorect | 0 |
| 17 | 48ms | 1408kb | Incorect | 0 |
| 18 | 20ms | 1404kb | Incorect | 0 |
| 19 | 16ms | 1408kb | Incorect | 0 |
| 20 | 12ms | 1404kb | Incorect | 0 |
| Punctaj total | 10 |