0_0_14056985_30458.cpp: In function 'bool solve()':
0_0_14056985_30458.cpp:18:31: error: expected ';' before '}' token
if(s[i]=='w') {p=1} else if(s[i]=='v'){if(ok=1) p=1; else ok=1};
^
0_0_14056985_30458.cpp:18:75: error: expected ';' before '}' token
if(s[i]=='w') {p=1} else if(s[i]=='v'){if(ok=1) p=1; else ok=1};
^
0_0_14056985_30458.cpp:19:13: error: expected '}' before 'else'
else ok=0;
^
0_0_14056985_30458.cpp:21:23: error: 'i' was not declared in this scope
if(p==1) if(s[i]=='y') p=2;
^
0_0_14056985_30458.cpp:22:23: error: 'i' was not declared in this scope
if(p==2) if(s[i]=='h') return true;
^
0_0_14056985_30458.cpp: At global scope:
0_0_14056985_30458.cpp:24:5: error: expected unqualified-id before 'return'
return false;
^
0_0_14056985_30458.cpp:25:1: error: expected declaration before '}' token
}
^
|