上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: 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 阅读全文
posted @ 2018-11-08 19:35 *starry* 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-11-04 15:09 *starry* 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 剪花布条 HDU - 2087 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字符有多 阅读全文
posted @ 2018-11-02 15:25 *starry* 阅读(1451) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-11-02 14:55 *starry* 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-10-31 19:26 *starry* 阅读(632) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-10-26 17:28 *starry* 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Digital Deletions 题意:一串由0~9组成的数字,可以进行两个操作:1、把其中一个数变为比它小的数;2、把其中一个数字0及其右边的所以数字删除。两人轮流进行操作,最后把所以数字删除的人获胜,问前者胜还是后者胜。字符串长度为1-6,前者胜输出Yes,否则输出No. 题解:具体看代码。 阅读全文
posted @ 2018-10-26 17:12 *starry* 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 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, 阅读全文
posted @ 2018-10-22 09:45 *starry* 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 逆尼姆博弈 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 阅读全文
posted @ 2018-10-22 08:28 *starry* 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-10-15 23:01 *starry* 阅读(505) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页