Pagini recente » Borderou de evaluare (job #2395838) | Borderou de evaluare (job #1453369) | Borderou de evaluare (job #2648464) | Borderou de evaluare (job #1145661) | Borderou de evaluare (job #1155742)
Borderou de evaluare (job #1155742)
Raport evaluator
Compilare:
user.cpp:3:11: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
int heap[1<<18+1],a[200002],ph[200002],caz,poz,t,n,i;
^
user.cpp: In function ‘int main()’:
user.cpp:27:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&t);a[0]=-1;a[200001]=999999;
^
user.cpp:30:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&caz);
^
user.cpp:32:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&a[++n]);
^
user.cpp:37:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&poz);
^
user.cpp:41:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",a[heap[1]]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 996kb | OK | 10 | 10 |
2 | 4ms | 996kb | OK | 10 | 10 |
3 | 4ms | 1008kb | OK | 10 | 10 |
4 | Depăşit | 1008kb | Time limit exceeded. | 0 | 0 |
5 | 28ms | 1172kb | OK | 10 | 0 |
6 | 60ms | 1328kb | OK | 10 |
7 | 60ms | 1788kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 104ms | 1632kb | OK | 10 |
9 | 116ms | 1652kb | OK | 10 |
10 | 116ms | 1660kb | Incorect | 0 |
Punctaj total | 30 |