Pagini recente » Borderou de evaluare (job #2382755) | Borderou de evaluare (job #1236633) | Borderou de evaluare (job #1573113) | Borderou de evaluare (job #566253) | Borderou de evaluare (job #2658891)
Borderou de evaluare (job #2658891)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10: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);
^
main.cpp:11: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);
^
main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:16:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:21:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:32:29: warning: 'solpos' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d",solpos-k+1,solpos,sol);
~~~~~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 8ms | 131kb | OK | 10 |
3 | 29ms | 393kb | OK | 10 |
4 | 33ms | 393kb | OK | 10 |
5 | 43ms | 524kb | OK | 10 |
6 | 52ms | 655kb | OK | 10 |
7 | 85ms | 917kb | OK | 10 |
8 | 101ms | 1048kb | Time limit exceeded | 0 |
9 | 100ms | 1048kb | Time limit exceeded | 0 |
10 | 103ms | 1179kb | Time limit exceeded | 0 |
Punctaj total | 70 |