Borderou de evaluare (job #1105357)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 11 februarie 2014 19:04:10
Problema Poarta Status done
Runda blablalblalblalfefefeffe Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:26:14: error: expected initializer before ‘int’ void prshort int(short int h[NMAX][NMAX]){ ^ user.cpp: In function ‘int main()’: user.cpp:77:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d", &n, &m, &p); ^ user.cpp:77:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:77:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:78:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d", &x1, &y1, &x2, &y2); ^ user.cpp:78:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:78:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:78:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:81:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d", &b[i].x, &b[i].y); ^ user.cpp:81:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]

Ceva nu functioneaza?