하노이의 Top of the 백괴/데이터: 두 판 사이의 차이

리버티게임, 모두가 만들어가는 자유로운 게임
백괴게임>BANIP
잔글편집 요약 없음
백괴게임>BANIP
잔글편집 요약 없음
6번째 줄: 6번째 줄:
숫자가 커질수록 아래에 있는 블럭이며, 숫자가 작아질수록 작은 블럭입니다.
숫자가 커질수록 아래에 있는 블럭이며, 숫자가 작아질수록 작은 블럭입니다.
  -->
  -->
<!-- 변수 위치지정합니다. -->{{#vardefine:위9|{{#expr:{{CGI}} mod 10}}}}{{#vardefine:위8|{{#expr:(({{CGI}} mod 100) - {{#var:위9}}) / 10}}}}{{#vardefine:위7|{{#expr:(({{CGI}} mod 1000) - ({{CGI}} mod 100)) / 100}}}}{{#vardefine:위6|{{#expr:(({{CGI}} mod 10000) - ({{CGI}} mod 1000)) / 1000}}}}{{#vardefine:위5|{{#expr:(({{CGI}} mod 100000) - ({{CGI}} mod 10000)) / 10000}}}}{{#vardefine:위4|{{#expr:(({{CGI}} mod 1000000) - ({{CGI}} mod 100000)) / 100000}}}}{{#vardefine:위3|{{#expr:(({{CGI}} mod 10000000) - ({{CGI}} mod 1000000)) / 1000000}}}}{{#vardefine:위2|{{#expr:(({{CGI}} mod 100000000) - ({{CGI}} mod 10000000)) / 10000000}}}}{{#vardefine:위1|{{#expr:(({{CGI}} mod 1000000000) - ({{CGI}} mod 100000000)) / 100000000}}}}<!-- 변수 백업합니다 -->{{#vardefine:위1B|{{#var:위1}}}}{{#vardefine:위2B|{{#var:위2}}}}{{#vardefine:위3B|{{#var:위3}}}}{{#vardefine:위4B|{{#var:위4}}}}{{#vardefine:위5B|{{#var:위5}}}}{{#vardefine:위6B|{{#var:위6}}}}{{#vardefine:위7B|{{#var:위7}}}}{{#vardefine:위8B|{{#var:위8}}}}{{#vardefine:위9B|{{#var:위9}}}}<!-- 블럭 위치 계산 {{#switch:1|{{#var:위9}}={{#vardefine:위9}} -->
<!-- 변수 위치지정합니다. -->{{#vardefine:위9|{{#expr:{{CGI}} mod 10}}}}{{#vardefine:위8|{{#expr:(({{CGI}} mod 100) - {{#var:위9}}) / 10}}}}{{#vardefine:위7|{{#expr:(({{CGI}} mod 1000) - ({{CGI}} mod 100)) / 100}}}}{{#vardefine:위6|{{#expr:(({{CGI}} mod 10000) - ({{CGI}} mod 1000)) / 1000}}}}{{#vardefine:위5|{{#expr:(({{CGI}} mod 100000) - ({{CGI}} mod 10000)) / 10000}}}}{{#vardefine:위4|{{#expr:(({{CGI}} mod 1000000) - ({{CGI}} mod 100000)) / 100000}}}}{{#vardefine:위3|{{#expr:(({{CGI}} mod 10000000) - ({{CGI}} mod 1000000)) / 1000000}}}}{{#vardefine:위2|{{#expr:(({{CGI}} mod 100000000) - ({{CGI}} mod 10000000)) / 10000000}}}}{{#vardefine:위1|{{#expr:(({{CGI}} mod 1000000000) - ({{CGI}} mod 100000000)) / 100000000}}}}<!-- 변수 백업합니다 -->{{#vardefine:위1B|{{#var:위1}}}}{{#vardefine:위2B|{{#var:위2}}}}{{#vardefine:위3B|{{#var:위3}}}}{{#vardefine:위4B|{{#var:위4}}}}{{#vardefine:위5B|{{#var:위5}}}}{{#vardefine:위6B|{{#var:위6}}}}{{#vardefine:위7B|{{#var:위7}}}}{{#vardefine:위8B|{{#var:위8}}}}{{#vardefine:위9B|{{#var:위9}}}}<!-- 블럭 위치 계산 -->
{{#switch:1|{{#var:위9}}={{#vardefine:위9|used}}{{#vardefine:1-1|9}}|{{#var:위8}}={{#vardefine:위8|used}}{{#vardefine:1-1|8}}|{{#var:위7}}={{#vardefine:위7|used}}{{#vardefine:1-1|7}}|{{#var:위6}}={{#vardefine:위6|used}}{{#vardefine:1-1|6}}|{{#var:위5}}={{#vardefine:위5|used}}{{#vardefine:1-1|5}}|{{#var:위4}}={{#vardefine:위4|used}}{{#vardefine:1-1|4}}|{{#var:위3}}={{#vardefine:위3|used}}{{#vardefine:1-1|3}}|{{#var:위2}}={{#vardefine:위2|used}}{{#vardefine:1-1|2}}|{{#var:위1}}={{#vardefine:위1|used}}{{#vardefine:1-1|1}}|#default={{#vardefine:1-1|0}}}}
{{#switch:1|{{#var:위8}}={{#vardefine:위8|used}}{{#vardefine:1-2|8}}|{{#var:위7}}={{#vardefine:위7|used}}{{#vardefine:1-2|7}}|{{#var:위6}}={{#vardefine:위6|used}}{{#vardefine:1-2|6}}|{{#var:위5}}={{#vardefine:위5|used}}{{#vardefine:1-2|5}}|{{#var:위4}}={{#vardefine:위4|used}}{{#vardefine:1-2|4}}|{{#var:위3}}={{#vardefine:위3|used}}{{#vardefine:1-2|3}}|{{#var:위2}}={{#vardefine:위2|used}}{{#vardefine:1-2|2}}|{{#var:위1}}={{#vardefine:위1|used}}{{#vardefine:1-2|1}}|#default={{#vardefine:1-2|0}}}}
{{#switch:1|{{#var:위7}}={{#vardefine:위7|used}}{{#vardefine:1-3|7}}|{{#var:위6}}={{#vardefine:위6|used}}{{#vardefine:1-3|6}}|{{#var:위5}}={{#vardefine:위5|used}}{{#vardefine:1-3|5}}|{{#var:위4}}={{#vardefine:위4|used}}{{#vardefine:1-3|4}}|{{#var:위3}}={{#vardefine:위3|used}}{{#vardefine:1-3|3}}|{{#var:위2}}={{#vardefine:위2|used}}{{#vardefine:1-3|2}}|{{#var:위1}}={{#vardefine:위1|used}}{{#vardefine:1-3|1}}|#default={{#vardefine:1-3|0}}}}
{{#switch:1|{{#var:위6}}={{#vardefine:위6|used}}{{#vardefine:1-4|6}}|{{#var:위5}}={{#vardefine:위5|used}}{{#vardefine:1-4|5}}|{{#var:위4}}={{#vardefine:위4|used}}{{#vardefine:1-4|4}}|{{#var:위3}}={{#vardefine:위3|used}}{{#vardefine:1-4|3}}|{{#var:위2}}={{#vardefine:위2|used}}{{#vardefine:1-4|2}}|{{#var:위1}}={{#vardefine:위1|used}}{{#vardefine:1-4|1}}|#default={{#vardefine:1-4|0}}}}

2011년 7월 24일 (일) 10:49 판