Borderou de evaluare (job #2923376)
Utilizator | Data | 12 septembrie 2022 23:29:10 | |
---|---|---|---|
Problema | Metro | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:55:15: error: 'InParser& InParser::operator>>(long long int&)' cannot be overloaded with 'InParser& InParser::operator>>(long long int&)'
55 | InParser& operator >> (long long &n)
| ^~~~~~~~
main.cpp:33:15: note: previous declaration 'InParser& InParser::operator>>(long long int&)'
33 | InParser& operator >> (int &n)
| ^~~~~~~~
main.cpp:127:16: error: 'OutParser& OutParser::operator<<(long long int)' cannot be overloaded with 'OutParser& OutParser::operator<<(long long int)'
127 | OutParser& operator << (long long vu64)
| ^~~~~~~~
main.cpp:113:16: note: previous declaration 'OutParser& OutParser::operator<<(long long int)'
113 | OutParser& operator << (int vu32)
| ^~~~~~~~
main.cpp: In member function 'void sgt::construct(long long int)':
main.cpp:189:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
189 | on[i]=sumpar[i]=sumimpar[i]=0;
| ~~~~~~~~~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !