Problem wv
User om2024
Submission Time 2025-11-12 12:04:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wv.cpp: In function ‘int main()’:
wv.cpp:11:20: error: expected primary-expression before ‘.’ token
11 | if ((string.at(j))=="v") ans+=1;
| ^
wv.cpp:12:25: error: expected primary-expression before ‘.’ token
12 | else if ((string.at(j))=="w") ans +=2;
| ^