随笔分类 -  poj

摘要:Ants Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 33420 Accepted: 12441 Description An army of ants walk on a horizontal pole of length 阅读全文
posted @ 2019-11-20 15:13 琴影 阅读(229) 评论(0) 推荐(0) 编辑
摘要:Anagram Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 20650 Accepted: 8246 Description You are to write a program that has to generate al 阅读全文
posted @ 2017-02-13 16:19 琴影 阅读(318) 评论(0) 推荐(0) 编辑
摘要:Saruman's Army Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7853 Accepted: 4012 Description Saruman the White must lead his army along a 阅读全文
posted @ 2016-08-23 21:18 琴影 阅读(161) 评论(0) 推荐(0) 编辑
摘要:Best Cow Line Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 19186 Accepted: 5319 Description FJ is about to take his N (1 ≤ N ≤ 2,000) co 阅读全文
posted @ 2016-08-23 20:57 琴影 阅读(259) 评论(0) 推荐(0) 编辑
摘要:迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16238 Accepted: 9692 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 阅读全文
posted @ 2016-08-22 23:53 琴影 阅读(176) 评论(0) 推荐(0) 编辑
摘要:字符串替换 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10871 Accepted: 5100 Description 编写一个C程序实现将字符串中的所有"you"替换成"we" Input 输入包含多行数据 每行数据是一个 阅读全文
posted @ 2016-08-22 21:01 琴影 阅读(239) 评论(0) 推荐(0) 编辑
摘要:取模运算 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10931 Accepted: 6618 Description 编写一个C函数mod(int n, int m),实现取模运算% Input 输入包含多行数据 每行数据是 阅读全文
posted @ 2016-08-22 20:40 琴影 阅读(287) 评论(0) 推荐(0) 编辑
摘要:分数加减法 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13666 Accepted: 4594 Description 编写一个C程序,实现两个分数的加减法 Input 输入包含多行数据 每行数据是一个字符串,格式是"a/b 阅读全文
posted @ 2016-08-22 19:47 琴影 阅读(329) 评论(0) 推荐(0) 编辑
摘要:Journey with Pigs Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3004 Accepted: 922 Description Farmer John has a pig farm near town A. He 阅读全文
posted @ 2016-08-03 11:40 琴影 阅读(235) 评论(0) 推荐(0) 编辑
摘要:The Suspects Time Limit: 1000MS Memory Limit: 20000K Total Submissions: 31113 Accepted: 15117 Description Severe acute respiratory syndrome (SARS), an 阅读全文
posted @ 2016-05-14 11:52 琴影 阅读(156) 评论(0) 推荐(0) 编辑