Borderou de evaluare (job #1452848)

Utilizator Player1Player 1 Player1 Data 22 iunie 2015 00:31:33
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 5

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:35: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
14ms332kbLungime incorecta!00
236ms356kbSubsir incorect!55
30ms308kbLungime incorecta!00
44ms320kbLungime incorecta!00
54ms320kbLungime incorecta!00
612ms336kbLungime incorecta!00
720ms344kbLungime incorecta!00
8Depăşit1884kbTime limit exceeded.00
9Depăşit1812kbTime limit exceeded.0
10Depăşit1880kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?