Problem ultimateifelse
User GuzzaGamu
Submission Time 2026-03-19 21:33:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:25:30: error: ‘len’ was not declared in this scope; did you mean ‘mblen’?
25 | } else if (b.length() == len(a) {
| ^~~
| mblen
ultimateifelse.cpp:27:7: error: expected primary-expression before ‘else’
27 | } else if (a % 2 == 0) {
| ^~~~
ultimateifelse.cpp:27:6: error: expected ‘)’ before ‘else’
27 | } else if (a % 2 == 0) {
| ^~~~~
| )
ultimateifelse.cpp:25:15: note: to match this ‘(’
25 | } else if (b.length() == len(a) {
| ^