Borderou de evaluare (job #945780)
Utilizator | Data | 2 mai 2013 21:30:01 | |
---|---|---|---|
Problema | Camion | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:13: error: ‘int y1 [30005]’ redeclared as different kind of symbol
int y1[30005];
^
In file included from /usr/include/features.h:346:0,
from /usr/include/stdio.h:28,
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:30:25: warning: pointer to a function used in arithmetic [-Wpointer-arith]
cin>>x1[i]>>y1[i]>>x2[i]>>y2[i];
^
user.cpp:30:12: error: cannot bind ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ lvalue to ‘std::basic_istream<char>&&’
cin>>x1[i]>>y1[i]>>x2[i]>>y2[i];
^
In file included from /usr/local/include/c++/4.8.0/fstream:38:0,
from user.cpp:4:
/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:39:33: warning: pointer to a function used in arithmetic [-Wpointer-arith]
v[j][nr[j]++].x=y1[i],
^
user.cpp:39:33: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘short int’ [-fpermissive]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !