Borderou de evaluare (job #1254314)

Utilizator codi22FMI Condrea Florin codi22 Data 2 noiembrie 2014 15:23:00
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:7:34: 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:8:36: 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:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbLungime incorecta!00
20ms456kbCorect!1010
30ms436kbLungime incorecta!00
40ms432kbLungime incorecta!00
50ms432kbLungime incorecta!00
60ms440kbLungime incorecta!00
70ms440kbLungime incorecta!00
832ms464kbLungime incorecta!00
936ms824kbCorect!10
1028ms456kbLungime incorecta!0
Punctaj total10

Ceva nu functioneaza?