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? ...
阅读全文
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? ...
阅读全文
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? ...
阅读全文
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? ...
阅读全文
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
阅读全文
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...
阅读全文
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....
阅读全文
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...
阅读全文
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...
阅读全文
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
阅读全文
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...
阅读全文
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...
阅读全文
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...
阅读全文
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
阅读全文
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
阅读全文
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 #.
阅读全文
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
阅读全文
浙公网安备 33010602011771号