努力ing
你浪费的今天是昨天死去的人所渴望的明天!!!

随笔分类 -  字符串

HDU 1088
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1088字符串问题第一种方法#include<iostream>#include<string>using namespace std;int main(){ string str; int i,num=0; while(cin>>str) { if(str=="<br>") { cout<<endl; num=0; continue; } if(str=="<hr>") { if(num!=0) c 阅读全文
posted @ 2013-05-30 20:40 努力ing 阅读(205) 评论(0) 推荐(0)