Pagini recente » Borderou de evaluare (job #557774) | Borderou de evaluare (job #351170) | Borderou de evaluare (job #3139329) | Borderou de evaluare (job #1681156) | Borderou de evaluare (job #1451815)
Borderou de evaluare (job #1451815)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.in", "r", stdin);
^
user.cpp:78:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.out", "w", stdout);
^
user.cpp:80:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &mxcost);
^
user.cpp:82:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:84:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &gain[i]);
^
user.cpp:86:31: 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 | 1484kb | OK | 10 |
2 | 232ms | 14244kb | OK | 10 |
3 | 4ms | 1536kb | OK | 10 |
4 | 4ms | 1548kb | OK | 10 |
5 | 100ms | 4952kb | OK | 10 |
6 | 168ms | 7152kb | OK | 10 |
7 | 196ms | 7932kb | OK | 10 |
8 | 200ms | 7932kb | OK | 10 |
9 | 212ms | 8192kb | OK | 10 |
10 | 216ms | 8216kb | OK | 10 |
Punctaj total | 100 |