åŽããã財ãŖãĻãã
30ååžãŽãŠã¸ãĒãčããĻįĩæãčããĻãããããã§æãįĢãŖãĻåŽããåŖ˛ãå ´ (ãĒããããįŽãŽåãĢããŖã) ãĢåããŖãĻ財ãŖããŽã ãŖã
ããŧã¯åŧã§ã0ããšãŋãŧããĢãįįĸēįãĢ{+1, -1} ãį´¯įŠåããĻããŖãįĩæãäēæŗãã
ãããžããč
šãįŠēããĻããĒããĻããããžããããŖã¨äŊæĨãããã¨æąēãããã
ããŖãããéŖ¯ãéŖãšãĻãããã¨ãįĨäŋįēãŽé§
ãĢéããĻãããæã
čĄãã¤ããŽä¸č¯æįåēãĢå
ĨãŖã
æĨææĨãĒãŽã§æĨæŋããåŽéŖã¯ãĒããĻAåŽéŖãéŖãšã
éŖãšãĻãæä¸ãĢãéãčļŗããã貥å¸ãįĸēčĒãã
ãžãããéŖãšãĻãæä¸ãĢįĸēčĒããããŽãįãĢãĒãŖãĻãã
ããąãããĢæãå
ĨããĻč§ĻãŖãæčĻã ã¨ãį´ãŽæč§ĻãããŖã
åŋĩãŽãããĢéããĻãŋãã¨ããããã¯å
¨ãĻå˛åŧå¸ã§ããŖãĻ
å°éã¯100åįã4æã¨ã50åįã2æã ãã ãŖã
ãŦã¸ã§čŦãŖãĻããčŋæãĢããŖããŽãéĩäžŋåąã ãŖããŽã§ã
ããã§1000åã ãéãããĻããåēãĢãžãæģãŖãĻãã
åēåĄããã¯įŦããĒããã大ä¸å¤Ģã§ãããįš°ãčŋããĻãã
į§ã¯ãã ãã įŗãč¨ŗãĒãæ°æãĄã§ãå¤ąį¤ŧããžããããįš°ãčŋãã