码迷,mamicode.com
首页 >  
搜索关键字:currency    ( 352个结果
Currency System in Geraldion
standard outputA magic island Geraldion, where Gerald lives, has its own currency system. It uses banknotes of several values. But the problem is, the...
分类:其他好文   时间:2015-07-25 19:45:58    阅读次数:111
Currency System in Geraldion (Codeforces 560A)
A Currency System in GeraldionTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uDescriptionA magic island Geraldion, where Gerald li....
分类:其他好文   时间:2015-07-25 16:43:25    阅读次数:123
Codeforces Round #313 A Currency System in Geraldion
A Currency System in GeraldionTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uDescriptionA magic island Geraldion, where Ger...
分类:其他好文   时间:2015-07-25 15:11:39    阅读次数:104
ACM判断所给数字能否表示所有的数字
DescriptionA magic island Geraldion, where Gerald lives, has its own currency system. It uses banknotes of several values. But the problem is, the sys...
分类:其他好文   时间:2015-07-25 15:04:24    阅读次数:524
Currency System in Geraldion
题目:DescriptionA magic island Geraldion, where Gerald lives, has its own currency system. It uses banknotes of several values. But the problem is, the ...
分类:其他好文   时间:2015-07-25 15:01:17    阅读次数:118
货币问题
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionA magic island Geraldion, where Gerald lives, has its own currency sys...
分类:其他好文   时间:2015-07-24 22:05:51    阅读次数:89
Codeforces Round #313 A. Currency System in Geraldion
Description A magic island Geraldion, where Gerald lives, has its own currency system. It uses banknotes of several values. But the problem is, the system is not perfect and sometimes it happens th...
分类:其他好文   时间:2015-07-24 20:52:47    阅读次数:101
uva531Compromise (最长公共子序列+路径输出)
Compromise Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Practice UVA 531 Appoint description:Description Download as PDFIn a few months the European Currency...
分类:其他好文   时间:2015-07-24 18:22:32    阅读次数:145
Codeforces Round #313 (Div. 2) 解题报告
A. Currency System in Geraldion: 题意:有n中不同面额的纸币,问用这些纸币所不能加和到的值的最小值。 思路:显然如果这些纸币的最小钱为1的话,它就可以组成任意面额。如果这些纸币的最小值大于1,那么它所不能组成的最小面额就是1.所以自学求最小值即可。 我的代码: #include #include #include #includ...
分类:其他好文   时间:2015-07-24 12:51:41    阅读次数:92
Codeforces Round #313 (Div. 2)(A,B,C,D)
A题: 题目地址:Currency System in Geraldion 题意:给出n中货币的面值(每种货币有无数张),要求不能表示出的货币的最小值,若所有面值的都能表示,输出-1. 思路:水题,就是看看有没有面值为1的货币,如果有的话,所有面值的货币都可以通过1的累加得到,如果没有的话,最小的不能表示的就当然是1辣。 #include #include #include #inc...
分类:其他好文   时间:2015-07-23 12:13:56    阅读次数:144
352条   上一页 1 ... 22 23 24 25 26 ... 36 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!