Pagini recente » Borderou de evaluare (job #2643634) | Borderou de evaluare (job #1045052) | Borderou de evaluare (job #3150558) | Borderou de evaluare (job #718127) | Borderou de evaluare (job #1429093)
Borderou de evaluare (job #1429093)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou2.in", "r", stdin);
^
user.cpp:22:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou2.out", "w", stdout);
^
user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:25:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&cost[i]);
^
user.cpp:28:28: 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 | 1468kb | OK | 10 |
| 2 | 0ms | 1468kb | OK | 10 |
| 3 | 0ms | 1472kb | OK | 10 |
| 4 | 0ms | 1476kb | OK | 10 |
| 5 | 12ms | 1676kb | OK | 10 |
| 6 | 12ms | 1672kb | OK | 10 |
| 7 | 56ms | 2496kb | OK | 10 |
| 8 | 92ms | 2496kb | OK | 10 |
| 9 | 156ms | 3508kb | OK | 10 |
| 10 | 156ms | 3516kb | OK | 10 |
| Punctaj total | 100 |