Borderou de evaluare (job #2479673)

Utilizator cyg_contnr1Rares Burghelea cyg_contnr1 Data 24 octombrie 2019 10:42:11
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%lld",&v[i]); ^ main.cpp:49:31: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] printf("%lld ",vect[i]); ^ main.cpp:14: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); ^ main.cpp:15: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); ^ main.cpp:17:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ main.cpp:19:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&v[i]); ^ main.cpp:33:18: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized] p[i]=prev; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms221kbCorect!1010
28ms131kbCorect!1010
33ms131kbCorect!1010
46ms131kbCorect!1010
54ms131kbCorect!1010
614ms225kbCorect!1010
722ms225kbCorect!1010
8302ms622kbTime limit exceeded00
9303ms626kbTime limit exceeded0
10304ms622kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?