過去ログ

Taro
#31115
おひさしぶりです。
同じく邪道に走りました(汗)

100 for A=0 to 1
110 for B=0 to 1
120 for C=0 to 1
130 for D=0 to 1
140 for E=0 to 1
150 for F=0 to 1
160 for G=0 to 1
170 for H=0 to 1
180 for I=0 to 1
190 for J=0 to 1
200 P=A+B+C+D
210 Q=1-A+E+F+G
220 R=1-B+1-E+H+I
230 S=1-C+1-F+1-H+J
240 T=1-D+1-G+1-I+1-J
250 if P=0 or P=4 then jump
260 if Q=0 or Q=4 then jump
270 if R=0 or R=4 then jump
280 if S=0 or S=4 then jump
290 if T=0 or T=4 then jump
300 Z=Z+1
310 **
320 next:next
330 next:next
340 next:next
350 next:next
360 next:next
370 print Z
   11月8日(木) 1:28:48     31116

過去問題一覧へ戻る