Borderou de evaluare (job #1044149)

Utilizator DemnokStefan Demnok Data 29 noiembrie 2013 12:57:02
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:16:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:18:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&e[i].x,&e[i].y,&e[i].c); ^ user.cpp:18:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:18:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:38:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n%ld\n",ct,n-1); ^ user.cpp:38:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:39:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<sol.size(); i++) ^ user.cpp:40:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",sol[i].first,sol[i].second); ^ user.cpp:40:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbCorect10
20ms240kbCorect10
30ms240kbCost incorect0
40ms236kbKilled by signal 11(SIGSEGV).0
54ms240kbCost incorect0
64ms236kbWall time limit exceeded.0
74ms240kbWall time limit exceeded.0
84ms236kbWall time limit exceeded.0
94ms240kbWall time limit exceeded.0
104ms236kbWall time limit exceeded.0
Punctaj total20

Ceva nu functioneaza?