Borderou de evaluare (job #1668590)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in","r",stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out","w",stdout);
^
user.cpp:20:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&N);
^
user.cpp:22:42: 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 ",&v[i]);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK! | 10 |
2 | 0ms | 300kb | OK! | 10 |
3 | 0ms | 308kb | OK! | 10 |
4 | 0ms | 320kb | OK! | 10 |
5 | 0ms | 332kb | OK! | 10 |
6 | 0ms | 336kb | OK! | 10 |
7 | 8ms | 360kb | OK! | 10 |
8 | 24ms | 368kb | OK! | 10 |
9 | 28ms | 372kb | OK! | 10 |
10 | 28ms | 372kb | OK! | 10 |
Punctaj total | 100 |