Pagini recente » Cod sursa (job #1414985) | Cod sursa (job #2377448) | Cod sursa (job #158455) | Cod sursa (job #1118488) | Borderou de evaluare (job #1800202)
Borderou de evaluare (job #1800202)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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("asmax.in", "r", stdin);
^
user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out", "w", stdout);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:50:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:56: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 | 12ms | 748kb | OK | 10 |
| 2 | 0ms | 292kb | OK | 10 |
| 3 | 0ms | 292kb | OK | 10 |
| 4 | 0ms | 292kb | OK | 10 |
| 5 | 0ms | 288kb | OK | 10 |
| 6 | 0ms | 300kb | OK | 10 |
| 7 | 4ms | 600kb | OK | 10 |
| 8 | 12ms | 748kb | OK | 10 |
| 9 | 12ms | 748kb | OK | 10 |
| 10 | 12ms | 748kb | OK | 10 |
| Punctaj total | 100 |