Borderou de evaluare (job #953066)

Utilizator primulDarie Sergiu primul Data 24 mai 2013 18:41:35
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:25: error: ‘int y1’ redeclared as different kind of symbol int semn,po,ras,s,ul,x1,y1,x2,y2,mij,p,u,nrx,nry,n,i,m11,x3[16009],y3[16009],x[16009],y[16009]; ^ In file included from /usr/include/features.h:346:0, from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/os_defines.h:39, from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/c++config.h:420, from /usr/local/include/c++/4.8.0/cstdio:41, from user.cpp:1: /usr/include/bits/mathcalls.h:242:1: error: previous declaration of ‘double y1(double)’ __MATHCALL (y1,, (_Mdouble_)); ^ user.cpp: In function ‘void build(int, int, int)’: user.cpp:18:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<vyy[st].size();i++) ^ user.cpp:29:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i1<arb[nod1].size()&&i2<arb[nod2].size()) ^ user.cpp:29:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i1<arb[nod1].size()&&i2<arb[nod2].size()) ^ user.cpp:42:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i1=i1;i1<arb[nod1].size();i1++) ^ user.cpp:44:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i2=i2;i2<arb[nod2].size();i2++) ^ user.cpp: In function ‘int main()’: user.cpp:199:10: error: assignment of function ‘double y1(double)’ x1=y1=x2=y2=0; ^ user.cpp:199:10: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment user.cpp:225:15: error: invalid operands of types ‘double(double)throw ()’ and ‘int’ to binary ‘operator*’ y1=y1*10+sir[po]-48; ^ user.cpp:228:7: error: invalid operands of types ‘double(double)throw ()’ and ‘int’ to binary ‘operator*’ y1*=semn; ^ user.cpp:228:7: error: in evaluation of ‘operator*=(double(double)throw (), int)’ user.cpp:264:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(x1>x3[nrx]||y1>y3[nry]) ^ user.cpp:269:40: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(x2>=x3[nrx]&&x1<=x3[1]&&y1<=y3[1]&&y2>=y3[nry]) ^ user.cpp:297:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(y3[mij]>y1) ^ user.cpp:303:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(y3[mij]<y1) p=mij+1;

Ceva nu functioneaza?