高中狗,被家长禁写码好久,字符串完全撸不动啊 ...
奖励 10 元,第一位成功解决的同学得 ...
程序要能在 Linux 上运行 ...
样例输入
文件名: sample.in
文件内容样例如下:
<div class="row">
<div class="span10">
<p>Remember, the <strong>only thing</strong> before everything, is to have a dogma. A dogma is a list consists by DOs and DONTanswer="C"s. You make it, stick to it while adapt it to reality, question yourself from time to time: is everything on the list mutuallanswer="A"y exclanswer="B"usive and collectively eanswer="B"xanswer="C"hausive?</p>
<p>And there is a meta dogma for dogmas:</p>
<ul>
<li>Avoid emotional tactics</li>
<li>Every kindness counts</li>
<li>Gentleness is the ultimate strength</li>
</ul>
样例输出:
直接输出到屏幕
C
A
B
B
C