Borderou de evaluare (job #1117204)

Utilizator dspMihaiDespotovici Mihai dspMihai Data 23 februarie 2014 11:43:46
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9: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", &nr[i]); ^ user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", max[sf]); ^ user.cpp:26:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] for (i=sf; next[i]; i=next[i]) printf("%d ", nr[i]); ^ user.cpp:27:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d", nr[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms260kbCorect!1010
28ms268kbCorect!1010
34ms240kbCorect!1010
44ms248kbCorect!1010
54ms248kbCorect!1010
68ms252kbCorect!1010
716ms260kbCorect!1010
8Depăşit664kbTime limit exceeded.00
9Depăşit748kbTime limit exceeded.0
10Depăşit660kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?