Borderou de evaluare (job #2059046)

Utilizator seby2341Mesca Sebastian seby2341 Data 6 noiembrie 2017 16:34:36
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:8:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld",&n); ^ user.cpp:10: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:34:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld ", v[imax]); ^ user.cpp:36:39: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] if (l[i]==nrmax-1) printf("%lld ",v[i]), nrmax--; ^ user.cpp: In function ‘void read()’: user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:10: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:24: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:25: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
14ms464kbCorect!1010
212ms464kbCorect!1010
30ms452kbCorect!1010
44ms452kbCorect!1010
54ms452kbCorect!1010
68ms460kbCorect!1010
716ms464kbCorect!1010
8Depăşit828kbTime limit exceeded.00
9Depăşit880kbTime limit exceeded.0
10Depăşit828kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?