Pagini recente » Borderou de evaluare (job #840927) | Borderou de evaluare (job #721198) | Borderou de evaluare (job #2944729) | Borderou de evaluare (job #188365) | Borderou de evaluare (job #2148548)
Borderou de evaluare (job #2148548)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:34: 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:36: 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:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:50:50: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ans1 + ans2 > ans || (ans1 + ans2 == ans && x > p))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 824kb | OK | 10 |
2 | 0ms | 864kb | OK | 10 |
3 | 0ms | 828kb | OK | 10 |
4 | 0ms | 828kb | OK | 10 |
5 | 0ms | 936kb | OK | 10 |
6 | 48ms | 864kb | OK | 10 |
7 | 88ms | 872kb | OK | 10 |
8 | 124ms | 876kb | OK | 10 |
9 | 128ms | 876kb | OK | 10 |
10 | 132ms | 868kb | OK | 10 |
Punctaj total | 100 |