Quiz
https://codeforces.com/contest/1178/problem/B
AC Code
https://codeforces.com/contest/1178/submission/57485678
解法
- vvをwに変換
- oを見つけるたびに、そのoの左にあるw, 右にあるwの数を求めて答えに足す
https://codeforces.com/contest/1178/problem/B
https://codeforces.com/contest/1178/submission/57485678