Borderou de evaluare (job #1151896)

Utilizator lianaliana tucar liana Data 24 martie 2014 13:45:42
Problema Atac Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&n,&m,&P); ^ user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&b,&c); ^ user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void rezolvare()’: user.cpp:101:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld %ld %ld %ld",&x,&y,&a,&b,&c,&d); ^ user.cpp:101:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:101:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:101:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:101:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:101:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 7 has type ‘int*’ [-Wformat=] user.cpp:110:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",rez); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms680kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
24ms684kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
3120ms1036kbai gresit la mustata :D dar tot teapa e..0
4120ms1036kbai gresit la mustata :D dar tot teapa e..0
5252ms14320kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
6244ms14316kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
7248ms14320kberai aproape.. dar ai comis-o pana la urma0
8604ms14316kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
9608ms14740kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
10456ms14696kboho! ai bifat solutia ;)10
Punctaj total10

Ceva nu functioneaza?