Borderou de evaluare (job #1151498)

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

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:18:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:18:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:20: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:20:55: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:20:55: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:22: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:22: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:52: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
116ms236kbOK10
20ms236kbOK10
34ms232kbOK10
44ms232kbOK10
54ms236kbOK10
68ms236kbOK10
78ms244kbOK10
812ms244kbOK10
916ms240kbOK10
1016ms240kbOK10
Punctaj total100

Ceva nu functioneaza?