Pagini recente » Borderou de evaluare (job #2150826) | Borderou de evaluare (job #2275289) | Borderou de evaluare (job #997230) | Borderou de evaluare (job #1503438) | Borderou de evaluare (job #1389335)
Borderou de evaluare (job #1389335)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&K);
^
user.cpp:14:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=N; i++) scanf("%d",&a[i]);
^
user.cpp:29:28: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n",ind-K+1,ind,MAX);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 10 |
| 2 | 4ms | 496kb | OK | 10 |
| 3 | 16ms | 712kb | OK | 10 |
| 4 | 20ms | 748kb | OK | 10 |
| 5 | 28ms | 840kb | OK | 10 |
| 6 | 32ms | 920kb | OK | 10 |
| 7 | 60ms | 1236kb | OK | 10 |
| 8 | 84ms | 1624kb | OK | 10 |
| 9 | Depăşit | 1984kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2096kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |