Pagini recente » Borderou de evaluare (job #2275199) | Borderou de evaluare (job #221105) | Borderou de evaluare (job #2011488) | Borderou de evaluare (job #1629265) | Borderou de evaluare (job #2002327)
Borderou de evaluare (job #2002327)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62: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:63: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:64: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:65: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:85: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 | 9832kb | Incorect | 0 |
2 | 12ms | 9836kb | OK | 10 |
3 | 12ms | 9840kb | OK | 10 |
4 | 12ms | 9836kb | OK | 10 |
5 | 12ms | 9856kb | OK | 10 |
6 | 120ms | 10516kb | OK | 10 |
7 | 144ms | 11188kb | Incorect | 0 |
8 | 184ms | 11196kb | OK | 10 |
9 | 232ms | 11196kb | Incorect | 0 |
10 | 256ms | 11196kb | Incorect | 0 |
Punctaj total | 60 |