摘要: 题目:118A - String Task思路:water#include #include #include #include #include #include #define MAXN 100000using namespace std;char s[12]={'a','o','y','e','u','i','A','O','Y','E','U','I'};bool is_ok(char c){ f 阅读全文
posted @ 2013-07-24 17:28 over_flow 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目:158A - Next Round思路:水#include #include #include #include #include #include using namespace std;int num[51];int main(){ int n,k,x; int ans=0; cin>>n>>k; for(int i=1;i>num[i]; int tmp=k; while(tmp0) tmp--; cout<<tmp<<endl; return 0;}View Code 阅读全文
posted @ 2013-07-24 15:57 over_flow 阅读(171) 评论(0) 推荐(0) 编辑