Pagini recente » Borderou de evaluare (job #1381545) | Borderou de evaluare (job #1915619) | Borderou de evaluare (job #2039122) | Borderou de evaluare (job #480947) | Borderou de evaluare (job #1154832)
Borderou de evaluare (job #1154832)
Raport evaluator
Compilare:
user.cpp:3:11: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
int heap[1<<18+1],a[200001],ph[200001],caz,poz,t,n,i;
^
user.cpp: In function ‘int main()’:
user.cpp:26: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:29:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&caz);
^
user.cpp:31:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&a[++n]);
^
user.cpp:36:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&poz);
^
user.cpp:40:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",a[heap[1]]);
^
user.cpp:26:34: warning: array subscript is above array bounds [-Warray-bounds]
scanf("%ld",&t);a[0]=-1;a[200001]=999999;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 1008kb | OK | 10 | 10 |
2 | 4ms | 1008kb | Incorect | 0 | 0 |
3 | 4ms | 1008kb | OK | 10 | 10 |
4 | 8ms | 1048kb | Incorect | 0 | 0 |
5 | 32ms | 1180kb | Incorect | 0 | 0 |
6 | 60ms | 1336kb | Incorect | 0 |
7 | 132ms | 1792kb | Incorect | 0 |
8 | 104ms | 1632kb | OK | 10 |
9 | 124ms | 1660kb | Incorect | 0 |
10 | 120ms | 1664kb | Incorect | 0 |
Punctaj total | 20 |