백괴게임>Bd3076 |
백괴게임>Bd3076 |
5번째 줄: |
5번째 줄: |
| 박수를 몇 번 칠지 입력하자. | | 박수를 몇 번 칠지 입력하자. |
|
| |
|
| <div style="background-color:#ddd;border:1px solid #ccc;font-size:150%;width:300px;overflow:hidden;">{{#urlget:inpnum}} </div><br>
| | {{키패드|{{#ifeq:{{#urlget:inpnum}}|{{#expr:{{Count|{{CGI}}|3}}+{{Count|{{CGI}}|6}}+{{Count|{{CGI}}|9}}}}|일치할 때|일치하지 않을 때}}}}|컴퓨터의 차례이다. |
| | |
| {|style="width:300px;background-color:#ddd;border-collapse:collapse;text-align:center;font-size:150%;font-weight:bold;"
| |
| |style="border:1px solid #666;width:2em;height:2em;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}1}}|1}}
| |
| |style="border:1px solid #666;width:2em;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}2}}|2}}
| |
| |style="border:1px solid #666;width:2em;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}3}}|3}}
| |
| |-
| |
| |style="border:1px solid #666;height:2em;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}4}}|4}}
| |
| |style="border:1px solid #666;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}5}}|5}}
| |
| |style="border:1px solid #666;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}6}}|6}}
| |
| |-
| |
| |style="border:1px solid #666;height:2em;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}7}}|7}}
| |
| |style="border:1px solid #666;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}8}}|8}}
| |
| |style="border:1px solid #666;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}9}}|9}}
| |
| |-
| |
| |style="border:1px solid #666;height:2em;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}0}}|0}}
| |
| |style="border:1px solid #666;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#sub:{{#urlget:inpnum}}||-1}}}}|←}}
| |
| |style="border:1px solid #666;"|{{CGI2|{{CGI2/변수수정|inpnum|{{#urlget:inpnum}}}}|OK|{{#ifeq:{{#urlget:inpnum}}|{{#expr:{{Count|{{CGI}}|3}}+{{Count|{{CGI}}|6}}+{{Count|{{CGI}}|9}}}}|일치|불일치}}}}
| |
| |}|컴퓨터의 차례이다.
| |
|
| |
|
| 컴퓨터는 박수를 {{#expr:{{Count|{{CGI}}|3}}+{{Count|{{CGI}}|6}}+{{Count|{{CGI}}|9}}}}번 쳤다. | | 컴퓨터는 박수를 {{#expr:{{Count|{{CGI}}|3}}+{{Count|{{CGI}}|6}}+{{Count|{{CGI}}|9}}}}번 쳤다. |