
水水更健康
S_Black
学生
展开
-
【CODEFORCES】 A. Appleman and Easy Task
A. Appleman and Easy Tasktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToastman came up with a very easy原创 2015-01-08 10:29:37 · 616 阅读 · 0 评论 -
【CODEFORCES】 A. Bayan Bus
A. Bayan Bustime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe final round of Bayan Programming Contest w原创 2015-07-18 10:51:29 · 545 阅读 · 0 评论 -
【CODEFORCES】 A. Keyboard
A. Keyboardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOur good friend Mole is trying to code a big me原创 2015-07-21 15:27:53 · 807 阅读 · 0 评论 -
【Codeforces Round #313 (Div. 2)】A B C D--solutions
A. Currency System in Geraldiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA magic island Geraldion, w原创 2015-07-23 09:06:53 · 978 阅读 · 0 评论 -
【CODEFORCES】 A. Dreamoon and Stairs
A. Dreamoon and Stairstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDreamoon wants to climb up a stair of原创 2015-07-24 19:21:48 · 917 阅读 · 0 评论 -
【CODEFORCES】 A. Team Olympiad
A. Team Olympiadtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe School №0 of the capital of Berland has原创 2016-01-23 15:27:33 · 681 阅读 · 0 评论 -
【HDU】 1029 Ignatius and the Princess IV
Ignatius and the Princess IV题目链接Ignatius and the Princess IV题目大意 就是一串数,现在让你求出其中出现次数大于(n+1)/2的是哪个…题解 排序A之。代码#include <iostream>#include <cstring>#include <cstdio>using namespace std;int n,a[10000原创 2016-04-12 20:33:14 · 310 阅读 · 0 评论 -
【HDU】 1034 Candy Sharing Game
Candy Sharing GameCandy Sharing Game题目链接题目大意题解代码题目链接Candy Sharing Game题目大意 就是说有n个小同学,每个同学手里有一定数量的糖果,现在按逆时针站成一个环,老师每次吹哨时,每个小朋友会把手里的糖果分一半给右边的小朋友,如果分完他手里是奇数个糖果,他会从老师那里又得到一个糖果,问现在需要吹几轮哨,和最终每个小朋友手里原创 2016-04-19 18:37:31 · 433 阅读 · 0 评论 -
【HDU】 1035 Robot Motion
Robot Motion题目链接Robot Motion题目大意 给你一张地图,每个格子写了一个字母,代表这个机器人在这一步应该向上下左右哪一步走,问这个机器人会从哪个格子出去,或者会在几步后陷入一个循环。题解 直接模拟就好代码#include <iostream>#include <cstring>#include <cstdio>using namespace std;char s原创 2016-04-19 19:20:31 · 454 阅读 · 0 评论 -
【CODEFORCES】 B. Towers
B. Towerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you know, all the kids in Berland love playing原创 2015-08-07 19:16:23 · 729 阅读 · 0 评论 -
【CODEFORCES】 A. Expression
A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths.原创 2015-08-07 19:18:30 · 690 阅读 · 0 评论 -
【CODEFORCES】 A. Initial Bet
A. Initial Bettime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are five people playing a game called "原创 2015-07-27 15:37:06 · 828 阅读 · 0 评论 -
【CODEFORCES】 B. Caisa and Pylons
B. Caisa and Pylonstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCaisa solved the problem with the sugar原创 2015-01-08 19:07:06 · 617 阅读 · 0 评论 -
【CODEFORCES】 C. Appleman and Toastman
C. Appleman and Toastmantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman and Toastman play a game.原创 2015-01-08 14:59:55 · 596 阅读 · 0 评论 -
【CODEFORCES】 B. Appleman and Card Game
B. Appleman and Card Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman has n cards. Each card ha原创 2015-01-08 10:31:56 · 665 阅读 · 0 评论 -
【CODEFORCES】 B. Inbox (100500)
B. Inbox (100500)time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOver time, Alexey's mail box got littered原创 2015-01-09 17:40:32 · 772 阅读 · 0 评论 -
【CODEFORCES】 A. Cheap Travel
A. Cheap Traveltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnn has recently started commuting by subway原创 2015-02-06 16:10:02 · 740 阅读 · 0 评论 -
【CODEFORCES】 B. Fedor and New Game
B. Fedor and New Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter you had helped George and Alex t原创 2015-02-14 14:09:52 · 524 阅读 · 0 评论 -
【CODEFORCES】 B. Chat Online
B. Chat Onlinetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle X and Little Z are good friends. They原创 2015-03-04 15:00:40 · 630 阅读 · 0 评论 -
【CODEFORCES】 B. Design Tutorial: Learn from Life
B. Design Tutorial: Learn from Lifetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne way to create a task原创 2015-07-09 11:31:27 · 625 阅读 · 0 评论 -
【集训】KMP泛做
KMP泛做KMP泛做链接ProblemA HDU 4300ProblemB HDU 2087ProblemC HDU 4763ProblemF HDU 2594ProblemH HDU 3746链接集训KMP 只写了部分,D题我调不出来,谁有兴趣可以帮我调 :)\ \ :)ProblemA (HDU 4300)Clairewd’s message 大意是给你两原创 2016-08-05 10:08:57 · 629 阅读 · 0 评论