Pagini recente » Borderou de evaluare (job #1276950) | Borderou de evaluare (job #3042827) | Borderou de evaluare (job #2634330) | Borderou de evaluare (job #2318477) | Borderou de evaluare (job #1294572)
Borderou de evaluare (job #1294572)
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 | 1548kb | OK | 10 |
3 | 0ms | 1552kb | OK | 10 |
4 | 0ms | 1624kb | OK | 10 |
5 | 8ms | 1956kb | OK | 10 |
6 | 20ms | 2604kb | OK | 10 |
7 | 84ms | 4420kb | OK | 10 |
8 | 208ms | 7280kb | OK | 10 |
9 | 128ms | 3768kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 192ms | 4972kb | OK | 10 |
Punctaj total | 90 |