雕刻时光

just do it……nothing impossible
随笔 - 547, 文章 - 0, 评论 - 82, 阅读 - 86万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  括号问题 栈模拟

摘要:题意自己理解了,主要是两个队列维护,一个VIP队列,一个普通队列搜集了一些坑(有些坑转自别的网站用于广大同学的测试之用)普通人也有VIP的权益!!! 屌丝逆袭有木有!!!920:52:00 10 008:00:00 20 008:02:00 30 020:51:00 10 008:10:00 5 008:12:00 10 120:50:00 10 008:01:30 15 120:53:00 10 110 101 2 3 4 5 6 7 8 9 1008:00:00 08:00:00 008:01:30 08:01:30 008:02:00 08:02:00 008:10:00 08:10:0 阅读全文

posted @ 2013-10-09 21:52 huhuuu 阅读(1808) 评论(3) 推荐(0) 编辑

摘要:http://acm.hdu.edu.cn/showproblem.php?pid=4192这道题A的好辛苦啊!!!易错点:开始时 a,b当做个位数在考虑2 42 93 11(a-b)就会错,哎思维不严密啊!!!View Code #include<iostream>#include<algorithm>#include<cstring>#include<string>#include<cmath>#include<cstdio>#include<cstdlib>#include<map>using 阅读全文

posted @ 2012-04-06 20:23 huhuuu 阅读(502) 评论(0) 推荐(0) 编辑

摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1237不用栈的形式View Code #include<stdio.h>#include<stack>#include<string.h>#include<iostream>using namespace std;char s[209];double num[209];char fu[209];int main(){ while(gets(s)) { if(s[0]=='0'&&strlen(s)==1) return 0; me 阅读全文

posted @ 2012-04-02 20:53 huhuuu 阅读(211) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示