Pagini recente » Borderou de evaluare (job #2420435) | Borderou de evaluare (job #713637) | Borderou de evaluare (job #41427) | Borderou de evaluare (job #562066) | Borderou de evaluare (job #1452855)
Borderou de evaluare (job #1452855)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:21: warning: unused variable ‘x’ [-Wunused-variable]
long long N, i, j, x, max, index, optimum;
^
user.cpp:4:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &N);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &a[i]);
^
user.cpp:37:24: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
index = before[index];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 332kb | Corect! | 10 | 10 |
2 | 28ms | 360kb | Corect! | 10 | 10 |
3 | 0ms | 304kb | Subsir incorect! | 5 | 5 |
4 | 4ms | 316kb | Subsir incorect! | 5 | 5 |
5 | 4ms | 324kb | Subsir incorect! | 5 | 5 |
6 | 12ms | 328kb | Subsir incorect! | 5 | 5 |
7 | 24ms | 348kb | Subsir incorect! | 5 | 5 |
8 | Depăşit | 2592kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 2588kb | Time limit exceeded. | 0 |
10 | Depăşit | 2596kb | Time limit exceeded. | 0 |
Punctaj total | 45 |