Borderou de evaluare (job #1151932)

Utilizator lianaliana tucar liana Data 24 martie 2014 14:04:03
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:112: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
3124ms1044kbai gresit la mustata :D dar tot teapa e..0
4124ms1040kbai gresit la mustata :D dar tot teapa e..0
5248ms14320kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
6248ms14316kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
7248ms14320kberai aproape.. dar ai comis-o pana la urma0
8616ms14320kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
9624ms14736kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
10464ms14696kboho! ai bifat solutia ;)10
Punctaj total10

Ceva nu functioneaza?