Pagini recente » Borderou de evaluare (job #499456) | Borderou de evaluare (job #3138588) | Borderou de evaluare (job #1649110) | Borderou de evaluare (job #2363252) | Borderou de evaluare (job #2102099)
Borderou de evaluare (job #2102099)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8: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:9: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:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:19: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 | 440kb | OK! | 10 |
| 2 | 0ms | 452kb | OK! | 10 |
| 3 | 4ms | 488kb | Prima valoare gresita! | 7 |
| 4 | 4ms | 484kb | OK! | 10 |
| 5 | 4ms | 484kb | OK! | 10 |
| 6 | 4ms | 488kb | OK! | 10 |
| 7 | 0ms | 456kb | OK! | 10 |
| 8 | 0ms | 468kb | OK! | 10 |
| 9 | 0ms | 472kb | OK! | 10 |
| 10 | 0ms | 448kb | OK! | 10 |
| Punctaj total | 97 |