Pagini recente » Borderou de evaluare (job #1336854) | Borderou de evaluare (job #1505777) | Borderou de evaluare (job #3239611) | Borderou de evaluare (job #1172075) | Borderou de evaluare (job #1075618)
Borderou de evaluare (job #1075618)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
for(i=1;i<=n;i++){scanf("%ld",&v);p=i;update(1,1,n);}
^
user.cpp:32:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&k);
^
user.cpp:33:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
/*q*/ if(k==0){scanf("%ld%ld",&st,&sf);maxim=0;query(1,1,n);printf("%ld\n",maxim);}
^
user.cpp:33:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:33:81: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
/*q*/ if(k==0){scanf("%ld%ld",&st,&sf);maxim=0;query(1,1,n);printf("%ld\n",maxim);}
^
user.cpp:34:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
/*u*/ if(k==1){scanf("%ld%ld",&p,&v);update(1,1,n);}
^
user.cpp:34:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 232kb | OK | 10 | 10 |
2 | 8ms | 232kb | OK | 10 | 10 |
3 | 16ms | 248kb | OK | 10 | 10 |
4 | 40ms | 296kb | OK | 10 | 10 |
5 | 76ms | 1248kb | OK | 10 | 10 |
6 | 96ms | 1252kb | OK | 10 | 0 |
7 | Depăşit | 1252kb | Time limit exceeded. | 0 |
8 | 188ms | 1252kb | OK | 10 |
9 | 192ms | 1252kb | OK | 10 |
10 | 196ms | 1252kb | OK | 10 |
Punctaj total | 50 |