Borderou de evaluare (job #2658895)
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]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 10 |
| 2 | 9ms | 131kb | OK | 10 |
| 3 | 30ms | 393kb | OK | 10 |
| 4 | 34ms | 393kb | OK | 10 |
| 5 | 44ms | 524kb | OK | 10 |
| 6 | 52ms | 655kb | OK | 10 |
| 7 | 93ms | 917kb | OK | 10 |
| 8 | 101ms | 1048kb | Time limit exceeded | 0 |
| 9 | 101ms | 1310kb | Time limit exceeded | 0 |
| 10 | 101ms | 1048kb | Time limit exceeded | 0 |
| Punctaj total | 70 |