Pagini recente » Borderou de evaluare (job #1701371) | Borderou de evaluare (job #2735843) | Borderou de evaluare (job #1729912) | Borderou de evaluare (job #991595) | Borderou de evaluare (job #991440)
Borderou de evaluare (job #991440)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=0;i<n;i++) fr[s[i]]++;
^
user.cpp:12:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[j]==(n-i+1)/2+1) c=j, w=0;
^
user.cpp:14:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[j] && j!=cv) c=j, w=0;
^
user.cpp:15:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
g<<c; fr[c]--; cv=c;
^
user.cpp:7:23: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
{ int n,i,w; char j,c,cv='A',s[1000002];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 348kb | Incorect | 0 |
| 2 | 0ms | 340kb | Incorect | 0 |
| 3 | 0ms | 340kb | Incorect | 0 |
| 4 | 4ms | 360kb | Incorect | 0 |
| 5 | 16ms | 452kb | Incorect | 0 |
| 6 | 48ms | 640kb | Incorect | 0 |
| 7 | 60ms | 744kb | Incorect | 0 |
| 8 | 116ms | 1040kb | Incorect | 0 |
| 9 | 140ms | 1232kb | Incorect | 0 |
| 10 | 72ms | 856kb | Incorect | 0 |
| Punctaj total | 0 |