Borderou de evaluare (job #1046700)

Utilizator roparexRoparex roparex Data 3 decembrie 2013 13:00:23
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:27:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:27:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:31:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&e.x,&e.y,&e.c); ^ user.cpp:31:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:31:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:61:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",CT); ^ user.cpp:62:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nr); ^ user.cpp:63:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<sol.size();i++) ^ user.cpp:64: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:64: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
10ms240kbCorect10
20ms236kbCorect10
30ms244kbCorect10
40ms248kbCorect10
54ms252kbCorect10
6132ms2148kbCorect10
7240ms4340kbCorect10
852ms1112kbCorect10
944ms1112kbCorect10
10212ms3448kbCorect10
Punctaj total100

Ceva nu functioneaza?