Borderou de evaluare (job #1786204)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 22 octombrie 2016 16:23:56
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d ", &a[i]); ^ user.cpp: In function ‘void generare()’: user.cpp:40:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ", c[i]); ^ user.cpp: In function ‘void citire()’: user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:45: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:46: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms288kbCorect!1010
28ms300kbCorect!1010
30ms276kbLungime incorecta!00
40ms280kbLungime incorecta!00
50ms284kbLungime incorecta!00
64ms288kbLungime incorecta!00
74ms288kbLungime incorecta!00
8Depăşit684kbTime limit exceeded.00
9Depăşit688kbTime limit exceeded.0
10Depăşit692kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?