Problem | lunchbox |
---|---|
User | Tristyy |
Submission Time | 2024-06-19 14:29:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:13:12: error: could not convert ‘s.std::__cxx11::basic_string<char>::operator=(((const char*)"wow"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
13 | while ( s = "wow"){
| ~~^~~~~~~
| |
| std::__cxx11::basic_string<char>
lunchbox.cpp:22:25: error: expected ‘;’ before ‘}’ token
22 | cout << (pq.size() - n)
| ^
| ;
23 | }
| ~
lunchbox.cpp:23:1: error: expected ‘}’ at end of input
23 | }
| ^
lunchbox.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^