Borderou de evaluare (job #1101200)

Utilizator gabriel.badeaGabriel Badea gabriel.badea Data 8 februarie 2014 00:09:48
Problema Tir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:15:12: error: ‘::main’ must return ‘int’ short main() ^ user.cpp: In function ‘int main()’: user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d", &coloanePanou, &coloaneAfis, &nr_trageri); ^ user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &tragere[i].x, &tragere[i].y); ^ user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:98:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", punctaj_maxim); ^

Ceva nu functioneaza?