Pagini recente » Borderou de evaluare (job #189915) | Borderou de evaluare (job #1710013) | Borderou de evaluare (job #1695095) | Borderou de evaluare (job #1473407) | Borderou de evaluare (job #1755332)
Borderou de evaluare (job #1755332)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv3.in","r",stdin);
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv3.out","w",stdout);
^
user.cpp:48:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&L,&U);
^
user.cpp:49:48: 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]); a[i]*=100; }
^
user.cpp:50:46: 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",&b[i]);
^
user.cpp:60:34: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%.2f\n",(double)f/100);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK! | 10 |
2 | 0ms | 308kb | OK! | 10 |
3 | 0ms | 308kb | OK! | 10 |
4 | 0ms | 336kb | OK! | 10 |
5 | 4ms | 388kb | OK! | 10 |
6 | 8ms | 452kb | OK! | 10 |
7 | 12ms | 540kb | OK! | 10 |
8 | 20ms | 620kb | OK! | 10 |
9 | 24ms | 704kb | OK! | 10 |
10 | 28ms | 772kb | OK! | 10 |
Punctaj total | 100 |