Pagini recente » Borderou de evaluare (job #1992442) | Borderou de evaluare (job #3357179) | Borderou de evaluare (job #410600) | Monitorul de evaluare | Borderou de evaluare (job #1302920)
Borderou de evaluare (job #1302920)
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:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:44: 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",&cost[i]);
^
user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:40: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 | 312kb | OK! | 10 |
| 2 | 0ms | 324kb | Timpul minim nu e ok! | 6 |
| 3 | 0ms | 332kb | OK! | 10 |
| 4 | 0ms | 324kb | Timpul minim nu e ok! | 6 |
| 5 | 0ms | 388kb | OK! | 10 |
| 6 | 0ms | 384kb | OK! | 10 |
| 7 | 0ms | 324kb | OK! | 10 |
| 8 | 0ms | 336kb | OK! | 10 |
| 9 | 0ms | 344kb | OK! | 10 |
| 10 | 0ms | 328kb | OK! | 10 |
| Punctaj total | 92 |