Pagini recente » Cod sursa (job #2189877) | Borderou de evaluare (job #1570037) | Cod sursa (job #557991) | Borderou de evaluare (job #2602755)
Borderou de evaluare (job #2602755)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:55: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);
^
main.cpp:56: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);
^
main.cpp:58:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:60:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
main.cpp:63:30: 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 | 7ms | 2490kb | OK | 10 |
2 | 7ms | 2490kb | OK | 10 |
3 | 7ms | 2490kb | OK | 10 |
4 | 9ms | 2621kb | OK | 10 |
5 | 19ms | 3014kb | OK | 10 |
6 | 35ms | 3801kb | OK | 10 |
7 | 134ms | 6160kb | OK | 10 |
8 | 285ms | 9830kb | OK | 10 |
9 | 300ms | 12058kb | Time limit exceeded | 0 |
10 | 263ms | 7471kb | OK | 10 |
Punctaj total | 90 |