Borderou de evaluare (job #1151480)

Utilizator lianaliana tucar liana Data 24 martie 2014 10:25:55
Problema Regiuni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:16:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:16:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:18:55: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&ec[i].a,&ec[i].b,&ec[i].c); ^ user.cpp:18:55: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:18:55: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:20:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&v[i].x,&v[i].y); ^ user.cpp:20:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:42:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",rez+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms236kbOK10
20ms236kbOK10
34ms236kbOK10
44ms232kbOK10
54ms236kbOK10
64ms232kbOK10
78ms236kbOK10
88ms236kbOK10
912ms236kbOK10
1012ms236kbIncorect0
Punctaj total90

Ceva nu functioneaza?