Pagini recente » Cod sursa (job #2281237) | Borderou de evaluare (job #1049019) | Borderou de evaluare (job #523059) | Borderou de evaluare (job #2849026) | Borderou de evaluare (job #979722)
Borderou de evaluare (job #979722)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&k);
^
user.cpp:18:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:21:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld %ld\n",pf-k+1,pf,maxim);
^
user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2184kb | OK | 10 |
| 2 | 8ms | 2236kb | OK | 10 |
| 3 | 24ms | 2444kb | OK | 10 |
| 4 | 28ms | 2480kb | OK | 10 |
| 5 | 36ms | 2576kb | OK | 10 |
| 6 | 40ms | 2652kb | OK | 10 |
| 7 | 64ms | 2968kb | OK | 10 |
| 8 | 96ms | 3356kb | OK | 10 |
| 9 | Depăşit | 1656kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1692kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |