Pagini recente » Borderou de evaluare (job #2985550) | Borderou de evaluare (job #1086138) | Borderou de evaluare (job #415403) | Borderou de evaluare (job #199856) | Borderou de evaluare (job #1751785)
Borderou de evaluare (job #1751785)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:25: warning: unused variable ‘len’ [-Wunused-variable]
int n,k,i,p,u,a,poz,len,m=-1000000,deltapoz,pozfin;
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in","r",stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out","w",stdout);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",v+i);
^
user.cpp:41:16: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=poz-1;v[i]>m;i--);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 4ms | 320kb | OK | 10 |
3 | 16ms | 524kb | OK | 10 |
4 | 20ms | 568kb | OK | 10 |
5 | 28ms | 660kb | OK | 10 |
6 | 36ms | 740kb | Incorect | 0 |
7 | 56ms | 1048kb | OK | 10 |
8 | 88ms | 1440kb | Incorect | 0 |
9 | Depăşit | 1836kb | Time limit exceeded. | 0 |
10 | Depăşit | 2036kb | Time limit exceeded. | 0 |
Punctaj total | 60 |