Borderou de evaluare (job #1400362)
Utilizator | Data | 25 martie 2015 11:29:54 | |
---|---|---|---|
Problema | Evantai | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:12: error: ‘int y1’ redeclared as different kind of symbol
int N,K,x1,y1,x2,y2,x,y,a[710],dp[710][710],tree[2000][2000]; pereche p[250000];
^
In file included from /usr/include/features.h:357:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39,
from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:420,
from /usr/include/c++/4.8/iostream:38,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of ‘double y1(double)’
__MATHCALL (y1,, (_Mdouble_));
^
user.cpp: In function ‘int query_y(int, int, int)’:
user.cpp:27:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (y1<=l && r<=y2) return query_x(nod,1,1,N);
^
user.cpp:30:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (y1<=mid) sum=query_y(nod*2,l,mid);
^
user.cpp: In function ‘int main()’:
user.cpp:81:18: error: assignment of function ‘double y1(double)’
x1=y1=p[j].i1+1;
^
user.cpp:81:18: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:88:18: error: assignment of function ‘double y1(double)’
x1=y1=p[j].i1+1;
^
user.cpp:88:18: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !