Borderou de evaluare (job #2059102)

Utilizator seby2341Mesca Sebastian seby2341 Data 6 noiembrie 2017 17:30:52
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:7:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld",&n); ^ user.cpp:9:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld", &v[i]); ^ user.cpp: In function ‘int main()’: user.cpp:46:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld ",aux[i]); ^ user.cpp:28:16: warning: unused variable ‘imin’ [-Wunused-variable] int imax=0,imin=0; ^ user.cpp:31:22: warning: unused variable ‘min1’ [-Wunused-variable] long long max1=0,min1=2100000000; ^ user.cpp: In function ‘void read()’: user.cpp:7:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:9:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[i]); ^ user.cpp: In function ‘int main()’: user.cpp:23: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:24: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
10ms468kbCorect!1010
28ms484kbCorect!1010
30ms456kbCorect!1010
40ms456kbCorect!1010
50ms460kbCorect!1010
68ms464kbCorect!1010
712ms464kbCorect!1010
8Depăşit836kbTime limit exceeded.00
9Depăşit888kbTime limit exceeded.0
10Depăşit840kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?