Pagini recente » Borderou de evaluare (job #2827468) | Borderou de evaluare (job #2852149) | Borderou de evaluare (job #2057996)
Borderou de evaluare (job #2057996)
Raport evaluator
Compilare:
user.cpp:4:48: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
int v[10000000],w[10000000],x[16],n,i,b,c;main(){std::ifstream("radixsort.in")>>n>>b>>V>>c;R(1,n,1)V=(1LL*b*v[i-1]+v[0])%c;R(0,32,4){b=i;memset(x,0,64);R(0,n,1)++x[V>>b&15];R(1,16,1)x[i]+=x[i-1];R(n-1,-1,-1)w[--x[V>>b&15]]=V;std::swap(v,w);i=b;}std::ofstream f("radixsort.out");R(0,n,10)f<<V<<' ';}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 360ms | 78552kb | OK | 10 | 30 |
2 | 376ms | 78556kb | OK | 10 |
3 | 500ms | 78552kb | OK | 10 |
4 | 504ms | 78552kb | OK | 10 | 40 |
5 | 1824ms | 78552kb | OK | 10 |
6 | 1816ms | 78552kb | OK | 10 |
7 | 512ms | 78552kb | OK | 10 |
8 | 1872ms | 78556kb | OK | 10 | 30 |
9 | 1868ms | 78552kb | OK | 10 |
10 | 1872ms | 78556kb | OK | 10 |
Punctaj total | 100 |