• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
HaibaraAi
博客园    首页    新随笔    联系   管理    订阅  订阅
02 2014 档案
Codeforce Round #228 Div2 D

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelpRockethon Codeforces Round #229 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? ... 阅读全文
posted @ 2014-02-14 21:42 HaibaraAi 阅读(123) 评论(0) 推荐(0)
Codeforce Round #228 Div2 C

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelpRockethon Codeforces Round #229 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? ... 阅读全文
posted @ 2014-02-13 04:41 HaibaraAi 阅读(125) 评论(0) 推荐(0)
Codeforce Round #228 Div2 A

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelpRockethon Codeforces Round #229 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? ... 阅读全文
posted @ 2014-02-12 23:13 HaibaraAi 阅读(145) 评论(0) 推荐(0)
Codeforce Round #228 Div2 B

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelpRockethon Codeforces Round #229 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? ... 阅读全文
posted @ 2014-02-12 23:12 HaibaraAi 阅读(81) 评论(0) 推荐(0)
Codechef January Challenge 2014 Sereja and Graph

摘要:Sereja and GraphProblem code: SEAGRPSubmitMy SubmissionsAll SubmissionsAll submissions for this problem are available.Read problems statements in Mandarin Chinese and Russian.Sereja has undirected graph, which consists of n vertexes and m edges. Sereja can delete edges from the graph. Now Sereja is 阅读全文
posted @ 2014-02-11 07:06 HaibaraAi 阅读(102) 评论(0) 推荐(0)
Codeforce Round #224 Div2 B

摘要:Sponsored by HaibaraAi | Logout这题2500分居然是B题,脑子抽了?根本不能忍,总之,自己弄不出,看也不能根本解决问题啊0 0,先从b再到b暴力一次弄出循环节,再把剩余的m弄一下暴力,就差不多了!HomeContestsGymProblemsetGroupsRatingHelp Codeforces Round #224 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be... 阅读全文
posted @ 2014-02-11 03:47 HaibaraAi 阅读(118) 评论(0) 推荐(0)
Codeforce Round #223 Div2 C

摘要:Sponsored by HaibaraAi | Logout注意这个二分要mid=(l+r)/2+1;HomeContestsGymProblemsetGroupsRatingHelp Codeforces Round #223 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings.... 阅读全文
posted @ 2014-02-10 23:48 HaibaraAi 阅读(148) 评论(0) 推荐(0)
Codeforce Round #227 Div2 C

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelp Codeforces Round #227 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? Language... 阅读全文
posted @ 2014-02-10 06:53 HaibaraAi 阅读(179) 评论(0) 推荐(0)
Sgu 119

摘要:119. Magic Pairstime limit per test: 0.25 sec. memory limit per test: 4096 KB注意先%n能被n整除的ax+by那么d*ax+d*by也能因为a,b 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 #define INF 0x7fffffff 12 #define mod 100000000713 #define ll long long14 #defi... 阅读全文
posted @ 2014-02-10 05:52 HaibaraAi 阅读(155) 评论(0) 推荐(0)
Sgu 120

摘要:120. Archipelagotime limit per test: 0.25 sec. memory limit per test: 4096 KBArchipelago Ber-Islands consists of N islands that are vertices of equiangular and equilateral N-gon. Islands are clockwise numerated. Coordinates of island N1 are (x1, y1), and island N2 – (x2, y2). Your task is to find co 阅读全文
posted @ 2014-02-10 04:34 HaibaraAi 阅读(136) 评论(0) 推荐(0)
Codeforce Round #227 Div2 A

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelp Codeforces Round #228 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? Language... 阅读全文
posted @ 2014-02-07 04:47 HaibaraAi 阅读(114) 评论(0) 推荐(0)
Codeforce Round #227 Div2 B

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelp Codeforces Round #228 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? Language... 阅读全文
posted @ 2014-02-07 04:46 HaibaraAi 阅读(126) 评论(0) 推荐(0)
Codeforce Round #227 Div2 C

摘要:Sponsored by HaibaraAi | LogoutHomeContestsGymProblemsetGroupsRatingHelp Codeforces Round #228 (Div. 2)FinishedPractice → PracticeYou are registered for practice. You can solve problems unofficially. Results can be found in the contest status and in the bottom of standings. → Submit? Language... 阅读全文
posted @ 2014-02-07 04:43 HaibaraAi 阅读(168) 评论(0) 推荐(0)
Sgu 118

摘要:118. Digital Roottime limit per test: 0.25 sec. memory limit per test: 4096 KBLet f(n) be a sum of digits for positive integer n. If f(n) is one-digit number then it is a digital root for n and otherwise digital root of n is equal to digital root of f(n). For example, digital root of 987 is 6. Your 阅读全文
posted @ 2014-02-06 20:36 HaibaraAi 阅读(88) 评论(0) 推荐(0)
Sgu 116

摘要:116. Index of super-primetime limit per test: 0.25 sec. memory limit per test: 4096 KBLet P1, P2, … ,PN, … be a sequence of prime numbers. Super-prime number is such a prime number that its current number in prime numbers sequence is a prime number too. For example, 3 is a super-prime number, but 7 阅读全文
posted @ 2014-02-06 19:21 HaibaraAi 阅读(119) 评论(0) 推荐(0)
Sgu 117

摘要:117. Countingtime limit per test: 0.25 sec. memory limit per test: 4096 KBFind amount of numbers for given sequence of integer numbers such that after raising them to the M-th power they will be divided by K.InputInput consists of two lines. There are three integer numbers N, M, K (0 3 #include 4 #. 阅读全文
posted @ 2014-02-03 19:48 HaibaraAi 阅读(93) 评论(0) 推荐(0)
Sgu 115

摘要:115. Calendartime limit per test: 0.25 sec. memory limit per test: 4096 KBFirst year of new millenium is gone away. In commemoration of it write a program that finds the name of the day of the week for any date in 2001.InputInput is a line with two positive integer numbers N and M, where N is a day 阅读全文
posted @ 2014-02-03 19:46 HaibaraAi 阅读(79) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3