Borderou de evaluare (job #1165008)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 2 aprilie 2014 13:34:47
Problema Stalpi3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&n,&d); ^ user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:14:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&x,&c); ^ user.cpp:14:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:27:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&x,&c); ^ user.cpp:27:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:42:26: error: ‘sqrt’ was not declared in this scope if (dd1<dd2&&sqrt(dd1)<dist[c].d) ^ user.cpp:48:26: error: ‘sqrt’ was not declared in this scope if (dd1>dd2&&sqrt(dd2)<dist[c].d&&k+1<=nr[c]) ^ user.cpp:59:26: error: ‘sqrt’ was not declared in this scope if (dd1<dd2&&sqrt(dd1)<dist[c].d) ^ user.cpp:65:26: error: ‘sqrt’ was not declared in this scope if (dd1>dd2&&sqrt(dd2)<dist[c].d) ^

Ceva nu functioneaza?