Pagini recente » Borderou de evaluare (job #491764) | Borderou de evaluare (job #1106313) | Borderou de evaluare (job #1600327) | Borderou de evaluare (job #1675783) | Borderou de evaluare (job #2027915)
Borderou de evaluare (job #2027915)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cnt);
^
user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK! | 10 |
2 | 0ms | 448kb | OK! | 10 |
3 | 0ms | 448kb | OK! | 10 |
4 | 0ms | 452kb | OK! | 10 |
5 | 0ms | 480kb | OK! | 10 |
6 | 0ms | 484kb | OK! | 10 |
7 | 0ms | 448kb | OK! | 10 |
8 | 0ms | 460kb | OK! | 10 |
9 | 0ms | 452kb | OK! | 10 |
10 | 0ms | 444kb | OK! | 10 |
Punctaj total | 100 |