Pagini recente » Borderou de evaluare (job #1584300) | Borderou de evaluare (job #671707) | Borderou de evaluare (job #451241) | Borderou de evaluare (job #1929913) | Borderou de evaluare (job #1294567)
Borderou de evaluare (job #1294567)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42: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:43: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:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:46: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:49: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 | 1560kb | OK | 10 |
2 | 0ms | 1552kb | OK | 10 |
3 | 0ms | 1552kb | OK | 10 |
4 | 0ms | 1620kb | OK | 10 |
5 | 8ms | 1956kb | OK | 10 |
6 | 20ms | 2608kb | OK | 10 |
7 | 88ms | 4420kb | OK | 10 |
8 | 208ms | 7280kb | OK | 10 |
9 | 128ms | 3768kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 196ms | 4972kb | OK | 10 |
Punctaj total | 90 |