Borderou de evaluare (job #1100097)

Utilizator Dddarius95Darius-Florentin Neatu Dddarius95 Data 6 februarie 2014 16:39:08
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:38:11: error: ‘::main’ must return ‘int’ long main() ^ user.cpp: In function ‘int main()’: user.cpp:42:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&N,&K); ^ user.cpp:42:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:46:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&x,&y); ^ user.cpp:46:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:73:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",sol); ^

Ceva nu functioneaza?