Pagini recente » Borderou de evaluare (job #2582934) | Borderou de evaluare (job #2251154) | Borderou de evaluare (job #2289096) | Borderou de evaluare (job #127962) | Borderou de evaluare (job #2002336)
Borderou de evaluare (job #2002336)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3max.in", "r", stdin);
^
user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3max.out", "w", stdout);
^
user.cpp:67:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:68:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < n; ++i) scanf("%d", &v[i]), s[i] = s[i - 1] + v[i];
^
user.cpp:88:25: 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 | 9836kb | OK | 10 |
2 | 12ms | 9836kb | OK | 10 |
3 | 12ms | 9848kb | OK | 10 |
4 | 12ms | 9852kb | OK | 10 |
5 | 12ms | 9864kb | OK | 10 |
6 | 124ms | 10524kb | OK | 10 |
7 | 148ms | 11200kb | OK | 10 |
8 | 188ms | 11196kb | OK | 10 |
9 | 240ms | 11200kb | OK | 10 |
10 | 256ms | 11196kb | OK | 10 |
Punctaj total | 100 |