Borderou de evaluare (job #1149378)

Utilizator lianaliana tucar liana Data 21 martie 2014 19:26:01
Problema Ben Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:15:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&a,&b); ^ user.cpp:15:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:61:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld",rez,nrv); ^ user.cpp:61:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOkay!10
20ms232kbOkay!10
30ms232kbOkay!10
40ms232kbOkay!10
50ms232kbOkay!10
60ms236kbOkay!10
70ms232kbOkay!10
812ms364kbOkay!10
936ms668kbOkay!10
1036ms676kbOkay!10
Punctaj total100

Ceva nu functioneaza?