不要过于沉溺过去,也不要过于畅想未来,把握现在!

上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 const int maxn=1007; 10 const int inf=... 阅读全文
posted @ 2015-03-26 09:36 coding_yuan 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 问题描述试题编号:201409-3试题名称:字符串匹配时间限制:1.0s内存限制:256.0MB问题描述:问题描述 给出一个字符串和多行文字,在这些文字中找到字符串出现的那些行。你的程序还需支持大小写敏感选项:当选项打开时,表示同一个字母的大写和小写看作不同的字符;当选项关闭时,表示同一个字母的大... 阅读全文
posted @ 2015-03-25 21:41 coding_yuan 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: 问题描述试题编号:201409-2试题名称:画图时间限制:1.0s内存限制:256.0MB问题描述:问题描述 在一个定义了直角坐标系的纸上,画一个(x1,y1)到(x2,y2)的矩形指将横坐标范围从x1到x2,纵坐标范围从y1到y2之间的区域涂上颜色。 下图给出了一个画了两个矩形的例子。第一个矩... 阅读全文
posted @ 2015-03-25 21:40 coding_yuan 阅读(1576) 评论(0) 推荐(0) 编辑
摘要: 问题描述 1 #include 2 using namespace std; 3 int main() 4 { 5 //freopen("in.txt","r",stdin); 6 int ans=0; 7 int num[10007]; 8 int n,a; 9 ... 阅读全文
posted @ 2015-03-25 21:39 coding_yuan 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 问题描述试题编号:201412-4试题名称:最优灌溉时间限制:1.0s内存限制:256.0MB问题描述:问题描述 雷雷承包了很多片麦田,为了灌溉这些麦田,雷雷在第一个麦田挖了一口很深的水井,所有的麦田都从这口井来引水灌溉。 为了灌溉,雷雷需要建立一些水渠,以连接水井和麦田,雷雷也可以利用部分麦田... 阅读全文
posted @ 2015-03-25 21:38 coding_yuan 阅读(735) 评论(0) 推荐(0) 编辑
摘要: 问题描述试题编号:201412-3试题名称:集合竞价时间限制:1.0s内存限制:256.0MB问题描述:问题描述 某股票交易所请你编写一个程序,根据开盘前客户提交的订单来确定某特定股票的开盘价和开盘成交量。 该程序的输入由很多行构成,每一行为一条记录,记录可能有以下几种: 1. buy p s... 阅读全文
posted @ 2015-03-25 21:36 coding_yuan 阅读(1924) 评论(5) 推荐(0) 编辑
摘要: 问题描述试题编号:201412-2试题名称:Z字形扫描时间限制:2.0s内存限制:256.0MB问题描述:问题描述 在图像编码的算法中,需要将一个给定的方形矩阵进行Z字形扫描(Zigzag Scan)。给定一个n×n的矩阵,Z字形扫描的过程如下图所示: 对于下面的4×4的矩阵, 1 5 3 9... 阅读全文
posted @ 2015-03-25 21:34 coding_yuan 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 问题描述试题编号:201412-1试题名称:门禁系统时间限制:1.0s内存限制:256.0MB问题描述:问题描述 涛涛最近要负责图书馆的管理工作,需要记录下每天读者的到访情况。每位读者有一个编号,每条记录用读者的编号来表示。给出读者的来访记录,请问每一条记录中的读者是第几次出现。输入格式 输入的... 阅读全文
posted @ 2015-03-25 21:32 coding_yuan 阅读(736) 评论(2) 推荐(0) 编辑
摘要: Gene AssemblyTime Limit:2 Seconds Memory Limit:65536 KBStatement of the ProblemWith the large amount of genomic DNA sequence data being made available... 阅读全文
posted @ 2015-03-22 21:42 coding_yuan 阅读(327) 评论(0) 推荐(0) 编辑
摘要: C. Name Questtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA Martian boy is nameds— he has got... 阅读全文
posted @ 2015-03-22 21:37 coding_yuan 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 骨牌铺方格Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33758Accepted Submission(s): 16359Problem Des... 阅读全文
posted @ 2015-03-22 21:35 coding_yuan 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Tug of WarTime Limit:3000MSMemory Limit:65536KTotal Submissions:8437Accepted:2292DescriptionA tug of war is to be arranged at the local office picnic.... 阅读全文
posted @ 2015-03-22 21:22 coding_yuan 阅读(262) 评论(0) 推荐(0) 编辑
摘要: A. Repoststime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Polycarp published a funny pict... 阅读全文
posted @ 2015-03-22 21:13 coding_yuan 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 int main( void ) 6 { 7 int filedes[2]; 8 char buf[80]; 9 pid_t pid;10 11 pipe( filedes );12 ... 阅读全文
posted @ 2015-03-22 20:00 coding_yuan 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 编写一个linux下的进程守护程序,每隔十秒性日志文件中输出系统当前时间; 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include10 using names... 阅读全文
posted @ 2015-03-22 19:58 coding_yuan 阅读(351) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页

不要过于沉溺过去,也不要过于畅想未来,把握现在!