Borderou de evaluare (job #1134839)

Utilizator lianaliana tucar liana Data 6 martie 2014 22:29:15
Problema Color Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:8:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&s); ^ user.cpp:8:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:11:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&x,&y); ^ user.cpp:11: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:21: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
1260ms232kbIncorect0
2224ms236kbIncorect0
3160ms232kbIncorect0
4128ms232kbIncorect0
5104ms232kbIncorect0
648ms232kbOK10
732ms236kbOK10
84ms232kbOK10
912ms236kbOK10
100ms236kbOK10
Punctaj total50

Ceva nu functioneaza?