Pagini recente » Borderou de evaluare (job #1480962) | Borderou de evaluare (job #2153414) | Borderou de evaluare (job #1762497) | Borderou de evaluare (job #1350072) | Borderou de evaluare (job #1659764)
Borderou de evaluare (job #1659764)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("split.in", "r", stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("split.out", "w", stdout);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[i]);
^
user.cpp:43:13: warning: ‘jj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
--jj;
^
user.cpp:57:42: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ma2 > ma || (ma2 == ma && jj < p1)) ma = ma2, p1 = jj, p2 = i, p3 = qq;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 48ms | 348kb | OK | 10 |
7 | 88ms | 372kb | OK | 10 |
8 | 128ms | 368kb | OK | 10 |
9 | 128ms | 372kb | OK | 10 |
10 | 132ms | 372kb | OK | 10 |
Punctaj total | 100 |