Borderou de evaluare (job #1176781)

Utilizator lianaliana tucar liana Data 26 aprilie 2014 10:53:10
Problema Arhipelag Status done
Runda ONIS 2014, Runda 4 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:13:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&n,&m,&k); ^ user.cpp:13:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:13: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",&x,&y); ^ user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:25:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:62:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:67:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("Case %ld: ",ii); ^ user.cpp:69:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",rez[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
172ms3220kbOK100
Punctaj total100

Ceva nu functioneaza?