| Problem | ultimateifelse |
|---|---|
| User | Kyri |
| Submission Time | 2026-04-01 14:39:24 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:19:15: error: could not convert ‘S.std::__cxx11::basic_string<char>::operator=(((const char*)"hello"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
19 | else if (S="hello"){
| ~^~~~~~~~
| |
| std::__cxx11::basic_string<char>
ultimateifelse.cpp:33:5: error: expected ‘}’ before ‘else’
33 | else if (N % 2 == 0){
| ^~~~
ultimateifelse.cpp:31:29: note: to match this ‘{’
31 | else if ( S.size() == N){
| ^