随笔分类 -  ***数据结构

摘要:3135 - Argus A data stream is a real-time, continuous, ordered sequence of items. Some examples include sensordata, Internet traffic, financial tic... 阅读全文
posted @ 2015-12-01 21:06 handsomecui 阅读(312) 评论(0) 推荐(0) 编辑
摘要:11991 - Easy Problem from Rujia Liu? Though Rujia Liu usually sets hard problems for contests (for example, regional contests likeXi’an 2006, Beiji... 阅读全文
posted @ 2015-12-01 17:31 handsomecui 阅读(265) 评论(0) 推荐(0) 编辑
摘要:11995 - I Can Guess the Data Structure! There is a bag-like data structure, supporting two operations:1 x Throw an element x into the bag.2 Take out ... 阅读全文
posted @ 2015-12-01 16:39 handsomecui 阅读(203) 评论(0) 推荐(0) 编辑
摘要:11988 - Broken Keyboard (a.k.a. Beiju Text) You’re typing a long text with a broken keyboard. Well it’s not so badly broken. The only problemwith the 阅读全文
posted @ 2015-11-21 21:38 handsomecui 阅读(1408) 评论(0) 推荐(0) 编辑
摘要:二分: set: 字典树竟然超时了。。。 阅读全文
posted @ 2015-11-19 22:00 handsomecui 阅读(492) 评论(0) 推荐(0) 编辑
摘要:Elven Postman Time Limit: 1500/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1091 Accepted Submission(s): 617 阅读全文
posted @ 2015-11-19 20:18 handsomecui 阅读(379) 评论(0) 推荐(0) 编辑
摘要:#include#include#include#include#include#define mem(x,y) memset(x,y,sizeof(x))using namespace std;typedef long long LL;struct Node{ int date; struct N... 阅读全文
posted @ 2015-11-18 21:03 handsomecui 阅读(258) 评论(0) 推荐(0) 编辑
摘要:Bad Hair Day Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 15941 Accepted: 5382 Description Some of Farmer John's N cows (1 ≤ N ≤ 80,000) 阅读全文
posted @ 2015-11-14 22:42 handsomecui 阅读(1690) 评论(0) 推荐(1) 编辑
摘要:A Magic Lamp Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2521 Accepted Submission(s): 986 Pro 阅读全文
posted @ 2015-11-14 22:12 handsomecui 阅读(530) 评论(0) 推荐(0) 编辑
摘要:SDOI Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 841 Accepted Submission(s): 332 Problem D 阅读全文
posted @ 2015-10-10 21:05 handsomecui 阅读(452) 评论(0) 推荐(0) 编辑
摘要:Scaena FelixTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 101Accepted Submission(s): 49Problem D... 阅读全文
posted @ 2015-09-26 22:05 handsomecui 阅读(324) 评论(0) 推荐(0) 编辑
摘要:简单计算器 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16815 Accepted Submission(s): 5779 Problem 阅读全文
posted @ 2015-07-29 14:46 handsomecui 阅读(876) 评论(0) 推荐(0) 编辑
摘要:期末考试时间限制:1000 ms | 内存限制:65535 KB 难度:2描述马上就要考试了,小T有许多作业要做,而且每个老师都给出来了作业要交的期限,如果在规定的期限内没交作业就会扣期末成绩的分数,假设完成每门功课需要一天的时间,你能帮助小T扣除的分数最小吗?输入输入n,表示n门功课(n 2 #i... 阅读全文
posted @ 2015-07-29 08:45 handsomecui 阅读(216) 评论(0) 推荐(0) 编辑
摘要:欢迎参加——BestCoder周年纪念赛(高质量题目+多重奖励)看病要排队Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5919Accepted ... 阅读全文
posted @ 2015-07-28 17:33 handsomecui 阅读(351) 评论(0) 推荐(0) 编辑
摘要:欢迎参加——BestCoder周年纪念赛(高质量题目+多重奖励)Windows Message QueueTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s... 阅读全文
posted @ 2015-07-28 17:30 handsomecui 阅读(416) 评论(0) 推荐(0) 编辑
摘要:StonesTime Limit: 5000/3000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1373Accepted Submission(s): 858Problem Descr... 阅读全文
posted @ 2015-07-28 17:28 handsomecui 阅读(309) 评论(0) 推荐(0) 编辑
摘要:set代码: 1 #include 2 #include 3 using namespace std; 4 int main(){ 5 setm; 6 set::iterator iter; 7 set::iterator fir,sec; 8 for(int i=15;i>=0;i-=2... 阅读全文
posted @ 2015-07-27 14:20 handsomecui 阅读(213) 评论(0) 推荐(0) 编辑
摘要:Train Problem ITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25773Accepted Submission(s): 9729Pr... 阅读全文
posted @ 2015-07-27 11:21 handsomecui 阅读(171) 评论(0) 推荐(0) 编辑
摘要:括号配对问题 时间限制:3000 ms | 内存限制:65535 KB 难度:3 #include<stdio.h> #include<string.h> char m[10010],n[10010]; int top; void push(char x){top++; m[top]=x; } vo 阅读全文
posted @ 2015-06-18 14:41 handsomecui 阅读(437) 评论(0) 推荐(0) 编辑