Borderou de evaluare (job #501563)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.in","r",stdin);
^
main.cpp:14:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.out","w",stdout);
^
main.cpp:15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:17:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:18:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
main.cpp:20:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | OK | 10 |
2 | 5ms | 393kb | OK | 10 |
3 | 9ms | 655kb | OK | 10 |
4 | 6ms | 655kb | OK | 10 |
5 | 4ms | 655kb | OK | 10 |
6 | 80ms | 4194kb | OK | 10 |
7 | 111ms | 8388kb | OK | 10 |
8 | 129ms | 8388kb | OK | 10 |
9 | 285ms | 16646kb | OK | 10 |
10 | 353ms | 16646kb | OK | 10 |
Punctaj total | 100 |