摘要:
Cards and Joy CodeForces - 999F There are nn players sitting at the card table. Each player has a favorite number. The favorite number of the j-th pla 阅读全文
摘要:
River Hopscotch poj 3258 Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock 阅读全文
摘要:
GCD HDU - 1695 Given 5 integers: a, b, c, d, k, you're to find x in a...b, y in c...d that GCD(x, y) = k. GCD(x, y) means the greatest common divisor 阅读全文
摘要:
Co-prime HDU - 4135 Given a number N, you are asked to count the number of integers between A and B inclusive which are relatively prime to N. Two int 阅读全文
摘要:
A Simple Game Agrael likes play a simple game with his friend Animal during the classes. In this Game there are n piles of stones numbered from 1 to n 阅读全文
摘要:
Problem F. Grab The Tree Problem F. Grab The Tree Little Q and Little T are playing a game on a tree. There are nn vertices on the tree, labeled by 1, 阅读全文
摘要:
逆尼姆博弈 John Little John is playing very funny game with his younger brother. There is one big box filled with M&Ms of different colors. At first John h 阅读全文
摘要:
Graph Coloring POJ - 1419 You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the 阅读全文