September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
11
Task/ABC-Problem/BASIC/abc-problem-3.basic
Normal file
11
Task/ABC-Problem/BASIC/abc-problem-3.basic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
10 LET B$="BOXKDQCPNAGTRETGQDFSJWHUVIANOBERFSLYPCZM"
|
||||
20 INPUT W$
|
||||
30 FOR I=1 TO LEN W$
|
||||
40 FOR J=1 TO LEN B$ STEP 2
|
||||
50 IF B$(J)<>W$(I) AND B$(J+1)<>W$(I) THEN GOTO 100
|
||||
60 LET B$=B$( TO J-1)+B$(J+2 TO )
|
||||
70 NEXT I
|
||||
80 PRINT "YES"
|
||||
90 STOP
|
||||
100 NEXT J
|
||||
110 PRINT "NO"
|
||||
Loading…
Add table
Add a link
Reference in a new issue