Pagini recente » Borderou de evaluare (job #1077805) | Borderou de evaluare (job #1610273) | Borderou de evaluare (job #3005575) | Borderou de evaluare (job #2424812) | Borderou de evaluare (job #991592)
Borderou de evaluare (job #991592)
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:13:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[j]==(n-i)/2+2) c=j, w=0;
^
user.cpp:15:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[j] && j!=cv) c=j, w=0;
^
user.cpp:16: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=0,s[1000002];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 344kb | Incorect | 0 |
| 2 | 0ms | 340kb | Incorect | 0 |
| 3 | 0ms | 344kb | Incorect | 0 |
| 4 | 4ms | 360kb | Incorect | 0 |
| 5 | 16ms | 452kb | Incorect | 0 |
| 6 | 48ms | 636kb | Incorect | 0 |
| 7 | 64ms | 740kb | Incorect | 0 |
| 8 | 112ms | 1036kb | Incorect | 0 |
| 9 | 144ms | 1232kb | Incorect | 0 |
| 10 | 72ms | 856kb | Incorect | 0 |
| Punctaj total | 0 |