Pagini recente » Borderou de evaluare (job #1831317) | Borderou de evaluare (job #3228562) | Borderou de evaluare (job #1436672) | Borderou de evaluare (job #1537792) | Borderou de evaluare (job #1452857)
Borderou de evaluare (job #1452857)
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:38: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 | 36ms | 356kb | Corect! | 10 | 10 |
3 | 0ms | 308kb | Corect! | 10 | 10 |
4 | 4ms | 320kb | Corect! | 10 | 10 |
5 | 4ms | 316kb | Corect! | 10 | 10 |
6 | 12ms | 340kb | Corect! | 10 | 10 |
7 | 20ms | 344kb | Corect! | 10 | 10 |
8 | Depăşit | 2588kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 2592kb | Time limit exceeded. | 0 |
10 | Depăşit | 2584kb | Time limit exceeded. | 0 |
Punctaj total | 70 |