Borderou de evaluare (job #1151919)

Utilizator lianaliana tucar liana Data 24 martie 2014 13:57:38
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
24ms680kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
3124ms1036kbai gresit la mustata :D dar tot teapa e..0
4124ms1032kbai gresit la mustata :D dar tot teapa e..0
5248ms14324kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
6248ms14316kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
7248ms14316kberai aproape.. dar ai comis-o pana la urma0
8616ms14324kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
9624ms14732kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
10464ms14692kboho! ai bifat solutia ;)10
Punctaj total10

Ceva nu functioneaza?