• [C] HTML Again

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • HTML is to describe a web document a markup language. Used for the development of web pages, it is in Angle brackets to mark a page tags, like

    	
    	<HTML> 
    		<body> 
    			<h1>My First Heading</h1>
    			<p>My first paragraph.</p>
    		</body>
    	</HTML> 
    
    <HTML> is the beginning of the HTML tags.</HTML> is the end of HTML tags.
    <h1>My First Heading</h1> is the content of the "My First Heading".
    Each tag contains the beginning tag and end tag.
    There is a string, it has a lot of tags (there are no content in these tags), Now you should judge the string whether conform to the standard.
  • 输入
  • There are multiple test cases, for each case, there is just one continuous string on one line.
  • 输出
  • For each case,if the string conform to the standard, print "Yes", otherwise print "No".
  • 样例输入
  • <p><div><span><a></a></span></div></p>
    <p><div><span><a></span></a></div></p>
  • 样例输出
  • Yes
    No
  • 提示
  • 来源
  • Ne123123
  • 操作

显示春菜