Borderou de evaluare (job #1048744)

Utilizator mironalex2005Alexandru Miron mironalex2005 Data 6 decembrie 2013 12:46:46
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:21:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:24:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&auxm.x,&auxm.y,&auxm.c); ^ user.cpp:24:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:24:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:35:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<a[pmin].size();i++) ^ user.cpp:48: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:48:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:49:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<sol.size();i++) ^ user.cpp:50:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",sol[i].x,sol[i].y); ^ user.cpp:50:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2580kbCorect10
24ms2576kbCorect10
34ms2592kbCorect10
44ms2596kbCorect10
54ms2608kbCorect10
6188ms8612kbCorect10
7360ms11484kbCorect10
868ms4852kbCorect10
964ms5576kbCorect10
10316ms10956kbCorect10
Punctaj total100

Ceva nu functioneaza?