Borderou de evaluare (job #1152783)
Utilizator | Data | 24 martie 2014 22:40:24 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:8: error: ‘int y1’ redeclared as different kind of symbol
int x1,y1,x2,y2,n,m,x,y,a[176][176],dl[5],dc[5];
^
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/iostream:38,
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 ‘int main()’:
user.cpp:53:6: error: cannot bind ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ lvalue to ‘std::basic_istream<char>&&’
f>>x1>>y1>>x2>>y2;
^
In file included from /usr/local/include/c++/4.8.0/iostream:40:0,
from user.cpp:1:
/usr/local/include/c++/4.8.0/istream:872:5: error: initializing argument 1 of ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&&, _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = double(double)throw ()]’
operator>>(basic_istream<_CharT, _Traits>&& __is, _Tp& __x)
^
user.cpp:54:14: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
lee(x1,y1);
^
user.cpp:15:6: error: initializing argument 2 of ‘void lee(int, int)’ [-fpermissive]
void lee(int x,int y)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !