Borderou de evaluare (job #1000850)
Utilizator | Data | 23 septembrie 2013 20:28:53 | |
---|---|---|---|
Problema | Placare | 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:46:42: error: invalid conversion from ‘size_t {aka unsigned int}’ to ‘std::ios_base::openmode {aka std::_Ios_Openmode}’ [-fpermissive]
stringstream sin(lin,strlen(lin));
^
In file included from user.cpp:14:0:
/usr/local/include/c++/4.8.0/sstream:553:7: error: initializing argument 2 of ‘std::basic_stringstream<_CharT, _Traits, _Alloc>::basic_stringstream(const __string_type&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::basic_stringstream<_CharT, _Traits, _Alloc>::__string_type = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]’ [-fpermissive]
basic_stringstream(const __string_type& __str,
^
user.cpp:30:51: warning: unused variable ‘jj’ [-Wunused-variable]
int x[N]={0},nrap[N]={0},val[N],i,j,n,m,p,P,c,jj;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !