| Problem | littlejohnny6 |
|---|---|
| User | hpesoj |
| Submission Time | 2026-08-12 23:55:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
littlejohnny6.cpp: In function ‘void solve()’:
littlejohnny6.cpp:4:35: error: could not convert ‘s’ from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘bool’
4 | while (std::string s { wipe() }; s == "brown");
| ^
| |
| std::string {aka std::__cxx11::basic_string<char>}
littlejohnny6.cpp:4:36: error: expected ‘)’ before ‘;’ token
4 | while (std::string s { wipe() }; s == "brown");
| ~ ^
| )
littlejohnny6.cpp:4:38: error: ‘s’ was not declared in this scope
4 | while (std::string s { wipe() }; s == "brown");
| ^