Borderou de evaluare (job #1147352)

Utilizator lianaliana tucar liana Data 19 martie 2014 19:17:49
Problema Pachete Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:19:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&o.x,&o.y); ^ user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:23:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&p.x,&p.y); ^ user.cpp:23:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:56:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",rez); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms236kbOK1010
24ms248kbOK1010
34ms256kbOK1010
48ms280kbOK1010
556ms648kbOK1010
664ms636kbOK1010
720ms388kbOK1010
832ms436kbOK1030
956ms652kbOK10
1060ms1800kbOK10
Punctaj total100

Ceva nu functioneaza?