Borderou de evaluare (job #1452847)

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

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
14ms340kbLungime incorecta!00
232ms360kbLungime incorecta!00
30ms312kbLungime incorecta!00
44ms316kbLungime incorecta!00
54ms324kbLungime incorecta!00
612ms332kbLungime incorecta!00
720ms348kbLungime incorecta!00
8Depăşit1880kbTime limit exceeded.00
9Depăşit1816kbTime limit exceeded.0
10Depăşit1872kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?