Borderou de evaluare (job #1118134)

Utilizator roparexRoparex roparex Data 24 februarie 2014 00:31:55
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:19:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:29:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",n-maxim+1); ^ user.cpp:31:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] while(j!=0) {printf("%ld ",j);j=b[j];} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms232kbCorect!1010
24ms252kbCorect!1010
30ms232kbKilled by signal 11(SIGSEGV).00
40ms232kbKilled by signal 11(SIGSEGV).00
54ms636kbCorect!1010
64ms232kbKilled by signal 11(SIGSEGV).00
74ms236kbKilled by signal 11(SIGSEGV).00
840ms576kbKilled by signal 11(SIGSEGV).00
944ms580kbKilled by signal 11(SIGSEGV).0
1036ms580kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?