Pagini recente » Borderou de evaluare (job #705243) | Borderou de evaluare (job #1232060) | Borderou de evaluare (job #2432167) | Borderou de evaluare (job #2308490) | Borderou de evaluare (job #991441)
Borderou de evaluare (job #991441)
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 | 344kb | Incorect | 0 |
2 | 0ms | 340kb | Incorect | 0 |
3 | 0ms | 344kb | Incorect | 0 |
4 | 4ms | 352kb | Incorect | 0 |
5 | 16ms | 444kb | Incorect | 0 |
6 | 48ms | 640kb | Incorect | 0 |
7 | 60ms | 736kb | Incorect | 0 |
8 | 112ms | 1036kb | Incorect | 0 |
9 | 140ms | 1228kb | Incorect | 0 |
10 | 76ms | 860kb | Incorect | 0 |
Punctaj total | 0 |