Borderou de evaluare (job #986703)

Utilizator enedumitruene dumitru enedumitru Data 19 august 2013 13:47:12
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:62:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] if(nLin) {printf("%s%ld\n",Coloana(nCol),nLin); nsir++;} ^ user.cpp:65: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:66:37: 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:66:64: 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:68: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:69:53: 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:69:80: 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
10ms236kbRaspuns corect10
20ms240kbRaspuns corect10
30ms236kbRaspuns corect10
40ms240kbRaspuns corect10
50ms236kbRaspuns corect10
60ms236kbRaspuns corect10
74ms236kbRaspuns corect10
80ms236kbRaspuns corect10
94ms240kbRaspuns corect10
100ms236kbRaspuns corect10
Punctaj total100

Ceva nu functioneaza?