Coding Quest
Senin, 02 Januari 2017
UVA 1585 - Score Solution
Problem Statement:
Score
Explanation
Iterate through the string and create a variable for counter. Everytime you get a character X reset the counter to 1, else add the counter to result and increment the counter.
Source Code
Tidak ada komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar