Borderou de evaluare (job #1731214)
Utilizator | Data | 18 iulie 2016 15:53:52 | |
---|---|---|---|
Problema | Interesant | 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:20:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s.size();j++)
^
user.cpp:24:16: error: cannot convert ‘std::basic_string<_CharT, _Traits, _Alloc>::size<char, std::char_traits<char>, std::allocator<char> >’ from type ‘std::basic_string<char>::size_type (std::basic_string<char>::)()const noexcept (true) {aka unsigned int (std::basic_string<char>::)()const noexcept (true)}’ to type ‘int’
m[i][0]=s.size
^
user.cpp:25:9: error: expected ‘;’ before ‘if’
if(m[i][0]>maxx)
^
user.cpp:13:28: warning: unused variable ‘ok’ [-Wunused-variable]
int n,p,i,j,maxx=0,t,q,ok,poz;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !