Borderou de evaluare (job #1041500)

Utilizator iarbaCrestez Paul iarba Data 25 noiembrie 2013 21:26:21
Problema Heroes of Might & Magic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&m,&k);k++; ^ user.cpp:9:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:9:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:10:64: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(i=1;i<=n;i++){for(j=1;j<=m;j++){scanf("%ld",&a[i][j][0]);}} ^ user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld%ld",&i,&j,&x,&y); ^ user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbIncorect0
20ms300kbIncorect0
30ms304kbIncorect0
40ms320kbIncorect0
54ms376kbIncorect0
64ms380kbIncorect0
74ms408kbIncorect0
84ms684kbIncorect0
94ms540kbIncorect0
104ms588kbIncorect0
Punctaj total0

Ceva nu functioneaza?