we have 2 kinds of stamp with values $A and $B, The
number of stamps is infinite, we have a letter to send out and need $T
postage, question is to find out the lowest cost required to get $T postage? Pls describe your method
and code it with any language you are good at( even we perfer C/C++ :)。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": [ "ctrl+alt+j" ], "command": "pretty_json_and_sort" }, | |
{ "keys": [ "ctrl+alt+m" ], "command": "un_pretty_json" } | |
] |
CH1
ON/OFF: Received NEC: address=0x6D82, command=0x40BF command_repeats=1
Full: Received NEC: address=0x6D82, command=0x59A6 command_repeats=1
明るく: Received NEC: address=0x6D82, command=0x45BA command_repeats=1
暗く: Received NEC: address=0x6D82, command=0x44BB command_repeats=1
白色: Received NEC: address=0x6D82, command=0x58A7 command_repeats=1
暖色: Received NEC: address=0x6D82, command=0x57A8 command_repeats=1
CH2
OlderNewer