Pagini recente » Borderou de evaluare (job #2555664) | Borderou de evaluare (job #1719833) | Borderou de evaluare (job #2196096) | Borderou de evaluare (job #859361) | Borderou de evaluare (job #2150131)
Borderou de evaluare (job #2150131)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in", "r", stdin);
^
user.cpp:24:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out", "w", stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:27:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]), v[i] += v[i - 1];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1500kb | OK | 10 |
| 2 | 0ms | 1496kb | OK | 10 |
| 3 | 0ms | 1500kb | OK | 10 |
| 4 | 0ms | 1500kb | OK | 10 |
| 5 | 0ms | 1524kb | OK | 10 |
| 6 | 4ms | 1540kb | OK | 10 |
| 7 | 4ms | 1552kb | OK | 10 |
| 8 | 4ms | 1560kb | OK | 10 |
| 9 | 4ms | 1560kb | OK | 10 |
| 10 | 4ms | 1560kb | OK | 10 |
| Punctaj total | 100 |