Borderou de evaluare (job #1041493)

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

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=] user.cpp:17:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld",a[x][y][k]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbIncorect0
20ms324kbOK10
30ms328kbOK10
40ms344kbOK10
54ms392kbOK10
64ms404kbOK10
74ms444kbOK10
84ms736kbOK10
94ms572kbOK10
104ms616kbOK10
Punctaj total90

Ceva nu functioneaza?