Problem ultimateifelse
User Hatrix
Submission Time 2026-04-14 20:02:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:23:17: error: expected unqualified-id before ‘==’ token
23 | else if(string == "hmm" and n == 20) {
| ^~
ultimateifelse.cpp:26:16: error: expected unqualified-id before ‘.’ token
26 | else if(string.size() > 5) {
| ^
ultimateifelse.cpp:29:16: error: expected unqualified-id before ‘.’ token
29 | else if(string.size() == n) {
| ^