Borderou de evaluare (job #1786233)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 22 octombrie 2016 17:06:32
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void generare()’: user.cpp:41:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", maxi); ^ user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",a[p]); ^ user.cpp: In function ‘void citire()’: user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &n); ^ user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld ", &a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:52: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:53: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
10ms292kbCorect!1010
24ms304kbLungime incorecta!00
30ms276kbCorect!1010
40ms288kbCorect!1010
50ms292kbCorect!1010
64ms292kbCorect!1010
712ms300kbCorect!1010
8Depăşit720kbTime limit exceeded.00
9Depăşit820kbTime limit exceeded.0
10Depăşit724kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?