随笔分类 - online judge Codeforces
摘要:B. Skills 题目连接: http://www.codeforces.com/contest/613/problem/B Description Lesha plays the recently published new version of the legendary game hackn
阅读全文
摘要:F. Xors on Segments 题目连接: http://www.codeforces.com/contest/620/problem/F Description You are given an array with n integers ai and m queries. Each qu
阅读全文
摘要:D. Professor GukiZ and Two Arrays 题目连接: http://www.codeforces.com/contest/620/problem/D Description Professor GukiZ has two arrays of integers, a and
阅读全文
摘要:F. Double Knapsack 题目连接: http://www.codeforces.com/contest/618/problem/F Description You are given two multisets A and B. Each multiset has exactly n
阅读全文
摘要:E. Robot Arm 题目连接: http://www.codeforces.com/contest/618/problem/E Description Roger is a robot. He has an arm that is a series of n segments connecte
阅读全文
摘要:D. Rat Kwesh and Cheese 题目连接: http://www.codeforces.com/contest/621/problem/D Description Wet Shark asked Rat Kwesh to generate three positive real nu
阅读全文
摘要:D. Birthday 题目连接: http://www.codeforces.com/contest/623/problem/D Description A MIPT student named Misha has a birthday today, and he decided to celeb
阅读全文
摘要:C. Electric Charges 题目连接: http://www.codeforces.com/contest/623/problem/C Description Programmer Sasha is a student at MIPT (Moscow Institute of Physi
阅读全文
摘要:E. Frog Fights 题目连接: http://www.codeforces.com/contest/625/problem/E Description stap Bender recently visited frog farm and was inspired to create his
阅读全文
摘要:F. The Sum of the k th Powers 题目连接: http://www.codeforces.com/contest/622/problem/F Description There are well known formulas: , , . Also mathematicia
阅读全文
摘要:Rikka with Phi 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5634 Description Rikka and Yuta are interested in Phi function (which is known as Euler
阅读全文
摘要:E. Famil Door and Roads 题目连接: http://www.codeforces.com/contest/629/problem/E Description Famil Door’s City map looks like a tree (undirected connecte
阅读全文
摘要:D. Babaei and Birthday Cake 题目连接: http://www.codeforces.com/contest/629/problem/D Description As you know, every birthday party has a cake! This time,
阅读全文
摘要:C. Famil Door and Brackets 题目连接: http://www.codeforces.com/contest/629/problem/C Description As Famil Door’s birthday is coming, some of his friends (
阅读全文
摘要:B. Far Relative’s Problem 题目连接: http://www.codeforces.com/contest/629/problem/B Description Famil Door wants to celebrate his birthday with his friend
阅读全文
摘要:A. Far Relative’s Birthday Cake 题目连接: http://www.codeforces.com/contest/629/problem/A Description Door's family is going celebrate Famil Doors's birth
阅读全文
摘要:F. Bear and Fair Set 题目连接: http://www.codeforces.com/contest/628/problem/F Description Limak is a grizzly bear. He is big and dreadful. You were chill
阅读全文
摘要:E. Zbazi in Zeydabad 题目连接: http://www.codeforces.com/contest/628/problem/D Description A tourist wants to visit country Zeydabad for Zbazi (a local ga
阅读全文
摘要:D. Magic Numbers 题目连接: http://www.codeforces.com/contest/628/problem/D Description Consider the decimal presentation of an integer. Let's call a numbe
阅读全文
摘要:C. Bear and String Distance 题目连接: http://www.codeforces.com/contest/628/problem/C Description Limak is a little polar bear. He likes nice strings — st
阅读全文