lily的好朋友xiaoou333最近很空腮介,他想了一件沒(méi)有什么意義的事情碎紊,就是統(tǒng)計(jì)一篇文章里不同單詞的總數(shù)膳叨。下面你的任務(wù)是幫助xiaoou333解決這個(gè)問(wèn)題。Input有多組...
統(tǒng)計(jì)每個(gè)元音字母在字符串中出現(xiàn)的次數(shù)笛坦。Input輸入數(shù)據(jù)首先包括一個(gè)整數(shù)n,表示測(cè)試實(shí)例的個(gè)數(shù)弧满,然后是n行長(zhǎng)度不超過(guò)100的字符串勋篓。Output對(duì)于每個(gè)測(cè)試實(shí)例輸出5行吧享,格式...
we define f(A) = 1, f(a) = -1, f(B) = 2, f(b) = -2, ... f(Z) = 26, f(z) = -26;Give you ...
Petya loves lucky numbers. We all know that lucky numbers are the positive integers who...
Your task is to Calculate a + b.Too easy?! Of course! I specially designed the problem ...
Hey, welcome to HDOJ(Hangzhou Dianzi University Online Judge). In this problem, your ta...