3-1 scrore
Here is a string with o and x. The length is between 1 to 80. Calcuate the score. The score of o is the consecutive o appeared so far. The score of x is 0. For example, the score of ooxxoxxooo is 1+2+0+0+1+0+0+1+2+3.
时间: 2024-10-29 10:46:31