Borderou de evaluare (job #986694)

Utilizator enedumitruene dumitru enedumitru Data 19 august 2013 13:41:53
Problema Excel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] { printf("%s%ld\n",Coloana(nCol), nLin); nsir++;} ^ user.cpp:70:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if(Rez[0].poz==1) printf("%ld ",Rez[0].rez); ^ user.cpp:71:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] else {printf("%ld 0 ", Rez[0].poz-1); printf("%ld ", Rez[0].rez);} ^ user.cpp:71:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] else {printf("%ld 0 ", Rez[0].poz-1); printf("%ld ", Rez[0].rez);} ^ user.cpp:73:61: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if(Rez[i].poz==Rez[i-1].poz+1) printf("%ld ", Rez[i].rez); ^ user.cpp:74:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] else {printf("%ld 0 ", Rez[i].poz-Rez[i-1].poz-1); printf("%ld ",Rez[i].rez);} ^ user.cpp:74:81: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] else {printf("%ld 0 ", Rez[i].poz-Rez[i-1].poz-1); printf("%ld ",Rez[i].rez);} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbRaspuns corect10
20ms240kbRaspuns corect10
30ms240kbRaspuns corect10
40ms236kbRaspuns corect10
50ms240kbRaspuns corect10
60ms240kbRaspuns corect10
74ms236kbRaspuns corect10
80ms240kbRaspuns corect10
94ms236kbRaspuns corect10
100ms236kbRaspuns corect10
Punctaj total100

Ceva nu functioneaza?