摘要:
DescriptionGappu has a very busy weekend ahead of him. Because, next weekend is Halloween, and he is planning to attend as many parties as he can. Sin... 阅读全文
摘要:
Problem DescriptionMaster Mind KongMing gave Fei Zhang a secrete master plan stashed in a pocket. The plan instructs how to deploy soldiers on the fou... 阅读全文
摘要:
Problem DescriptionA frog has just learned some number theory, and can't wait to show his ability to his girlfriend.Now the frog is sitting on a grid ... 阅读全文
摘要:
Problem DescriptionIn the Kingdom of Black and White (KBW), there are two kinds of frogs: black frog and white frog.Now N frogs are standing in a line... 阅读全文
摘要:
Problem DescriptionN frogs from different countries are standing in a line. Each country is represented by a lowercase letter. The distance between ad... 阅读全文
摘要:
Problem DescriptionThere is a number sequence A1,A2....An,you can select a interval [l,r] or not,all the numbers Ai(l≤i≤r) will become f(Ai).f(x)=(189... 阅读全文
摘要:
Problem DescriptionThere is a number N.You should output "YES" if N is a multiple of 2, 3 or 5,otherwise output "NO". InputThere are multiple test cas... 阅读全文
摘要:
Problem DescriptionFat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid o... 阅读全文
摘要:
Problem DescriptionIn mathematics, and more specifically in graph theory, a tree is an undirected graph in which any two nodes are connected by exactl... 阅读全文
摘要:
Problem DescriptionAlice and Bob are playing a game. There are two piles of cards. There are N cards in each pile, and each card has a score. They tak... 阅读全文