Pagini recente » Borderou de evaluare (job #2875425) | Borderou de evaluare (job #1694079) | Borderou de evaluare (job #2415753) | Borderou de evaluare (job #1397424) | Borderou de evaluare (job #1589941)
Borderou de evaluare (job #1589941)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.in","r",stdin);
^
user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.out","w",stdout);
^
user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:55:51: 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:60: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 | 2416kb | OK | 10 |
| 2 | 0ms | 2408kb | OK | 10 |
| 3 | 0ms | 2408kb | OK | 10 |
| 4 | 4ms | 2476kb | OK | 10 |
| 5 | 12ms | 2740kb | OK | 10 |
| 6 | 24ms | 3308kb | OK | 10 |
| 7 | 84ms | 4752kb | OK | 10 |
| 8 | 204ms | 7076kb | OK | 10 |
| 9 | 204ms | 9152kb | OK | 10 |
| 10 | 184ms | 4772kb | OK | 10 |
| Punctaj total | 100 |