Problem 0123 - decrement

Author Lepton_s - created at 2012-07-21 21:35:00

contest problem : Intuition contest - writer : Lepton_s

submissionの保存・ランキングの登録にはログインが必要です。

Ranking

Rank Point Chips User name Date
1 420 24 tos 2014-09-24 07:32:20
2 420 24 kskw 2014-10-27 00:30:30
3 340 32 minefy 2016-05-04 17:42:26
4 290 37 abcdefend 2012-08-09 12:32:02
5 280 38 snuke 2012-07-21 23:00:13
6 280 38 Ktya_59 2012-07-22 00:12:08
7 280 38 mas 2012-07-22 13:30:07
8 280 38 Lepton_s 2012-07-23 15:59:12
9 280 38 pasta 2012-07-23 16:01:02
10 280 38 zephoria 2012-07-24 02:10:55
11 280 38 terter 2012-10-02 03:58:44
12 280 38 newgame 2015-02-06 04:53:17
13 260 40 Kragnir 2016-09-07 17:00:23
14 250 41 ovuz 2012-11-17 12:07:02
15 210 45 climpet 2012-07-22 22:30:39
16 150 51 obakyan 2012-10-05 19:14:46
17 90 57 Jinhlk 2015-07-10 05:36:18
18 60 60 rng_58 2012-07-21 23:35:14
19 10 66 vedronor 2016-04-29 02:32:40

Comments

nからn-1への切り替わりのところの場合分け要らないとかまじっすかー。
[43 Chips]
DBBBBBBBBBBBBBBBHCMDdEBMAADBLcAAAqAFBAJdBLciADAAAAGAAAAAAAECIcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
mas - 2012-07-22 00:18:52
まず最初の111....1をつくり、0をポインタとして使いながらdecrementしていきます。
EBBBBBBBBBBBBBBAHECNAAAAAAAAAAAAAqAAFBBNdABLcEiAAAAAAAAADBIcECJcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
snuke - 2012-07-22 00:08:48
Copyright 2012 snuke