Borderou de evaluare (job #1041499)

Utilizator iarbaCrestez Paul iarba Data 25 noiembrie 2013 21:25:52
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=] 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
10ms264kbIncorect0
20ms308kbIncorect0
30ms324kbIncorect0
40ms328kbIncorect0
54ms380kbIncorect0
64ms388kbIncorect0
74ms436kbIncorect0
84ms720kbIncorect0
94ms556kbIncorect0
104ms604kbIncorect0
Punctaj total0

Ceva nu functioneaza?