上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: Description There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately 阅读全文
posted @ 2016-07-25 18:02 野小子& 阅读(456) 评论(0) 推荐(0) 编辑
摘要: Description ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(. 阅读全文
posted @ 2016-07-25 16:40 野小子& 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 使用标准库的栈和队列时,先包含相关的头文件 #include<stack> #include<queue> using namespace std; 定义栈如下: stack<int> stk; 定义队列如下: queue<int> q; 栈提供了如下的操作 s.empty() 如果栈为空返回tru 阅读全文
posted @ 2016-07-25 16:13 野小子& 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Description Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating 阅读全文
posted @ 2016-07-23 21:33 野小子& 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 求最大公倍数 求最小公倍数 阅读全文
posted @ 2016-07-23 18:05 野小子& 阅读(363) 评论(0) 推荐(0) 编辑
摘要: Description 给定两个正整数,计算这两个数的最小公倍数。 Description 给定两个正整数,计算这两个数的最小公倍数。 给定两个正整数,计算这两个数的最小公倍数。 Input 输入包含多组测试数据,每组只有一行,包括两个不大于1000的正整数. Input 输入包含多组测试数据,每组 阅读全文
posted @ 2016-07-23 17:58 野小子& 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Description Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of th 阅读全文
posted @ 2016-07-23 17:38 野小子& 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Description Fermat's theorem states that for any prime number p and for any integer a > 1, ap = a (mod p). That is, if we raise a to the pth power and 阅读全文
posted @ 2016-07-23 15:34 野小子& 阅读(777) 评论(0) 推荐(0) 编辑
摘要: Description People are different. Some secretly read magazines full of interesting girls' pictures, others create an A-bomb in their cellar, others li 阅读全文
posted @ 2016-07-23 12:41 野小子& 阅读(545) 评论(0) 推荐(0) 编辑
摘要: Description soda has a set S with n integers {1,2,…,n}. A set is called key set if the sum of integers in the set is an even number. He wants to know 阅读全文
posted @ 2016-07-23 11:43 野小子& 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页