
其它
lyhvoyage
不抛弃,不放弃!
展开
-
NYOJ -804 Gift (二分)
Gift时间限制:1000 ms | 内存限制:65535 KB难度:2 描述HEIHEI was planning to send his friends some necklaces as gifts. To show sincerity, he decided to make the necklaces all by himself. He bou原创 2013-10-02 19:57:10 · 2054 阅读 · 0 评论 -
NYOJ 875 小M的操作数
小M的操作数时间限制:1000 ms | 内存限制:65535 KB难度:2描述最近小M上课老瞌睡,落下许多功课,现在就遇到了一个问题:当一个数对(x,y)中有一个数大于或等于m时(当然有两个更好了),我们称它为m数对。一个数对(x,y)可以经过一步操作变成变成(x,x+y)或(x+y,y)数对。现在计算一个数对(x,y)变成m数对最少的操作次数吗? 你原创 2013-11-03 16:16:52 · 1332 阅读 · 0 评论 -
CodeForce 534B Covered Path(简单推理)
Covered Pathtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe on-board computer on Polycarp's car measure原创 2015-04-19 09:26:52 · 1498 阅读 · 0 评论 -
CodeForce 534C Polycarpus' Dice (数学推理)
Polycarpus' Dicetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has n dice d1, d2, ..., dn. The原创 2015-04-21 19:00:11 · 1432 阅读 · 0 评论