Pagini recente » Borderou de evaluare (job #796689) | Borderou de evaluare (job #867265) | Borderou de evaluare (job #835362) | Borderou de evaluare (job #2265901) | Borderou de evaluare (job #991422)
Borderou de evaluare (job #991422)
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=0,s[1000002];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 336kb | Incorect | 0 |
2 | 0ms | 340kb | Incorect | 0 |
3 | 0ms | 340kb | Incorect | 0 |
4 | 4ms | 352kb | Incorect | 0 |
5 | 16ms | 448kb | Incorect | 0 |
6 | 48ms | 640kb | Incorect | 0 |
7 | 64ms | 740kb | Incorect | 0 |
8 | 108ms | 1040kb | Incorect | 0 |
9 | 140ms | 1228kb | Incorect | 0 |
10 | 76ms | 860kb | Incorect | 0 |
Punctaj total | 0 |