Pagini recente » Borderou de evaluare (job #1397686) | Borderou de evaluare (job #449884) | Borderou de evaluare (job #2248368) | Borderou de evaluare (job #3201503) | Borderou de evaluare (job #1294577)
Borderou de evaluare (job #1294577)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:34: 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:42:36: 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:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:45: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:48: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 | 1556kb | OK | 10 |
| 2 | 0ms | 1556kb | OK | 10 |
| 3 | 0ms | 1548kb | OK | 10 |
| 4 | 0ms | 1616kb | OK | 10 |
| 5 | 8ms | 1920kb | OK | 10 |
| 6 | 20ms | 2540kb | OK | 10 |
| 7 | 84ms | 4220kb | OK | 10 |
| 8 | 200ms | 6888kb | OK | 10 |
| 9 | 208ms | 8964kb | OK | 10 |
| 10 | 180ms | 4588kb | OK | 10 |
| Punctaj total | 100 |