U E D R , A S I H C RSS

데블스캠프2005/RUR-PLE/정수민

=0=

~cpp 
def turn_right():
    turn_left()
    turn_left()
    turn_left()

def turn_back():
    turn_left()
    turn_left()

def muggi():
    if next_to_a_beeper():
        pick_beeper()
        muggi()
        if not front_is_clear():
            turn_left()
            move()
            turn_left()
            while not next_to_a_beeper():
                move()
            while front_is_clear():
                move()
            turn_back()
            while not next_to_a_beeper():
                move()
            turn_right()
            move()
            turn_left()
            put_beeper()
        else:
            move()
            put_beeper()
    else:
        if front_is_clear():
            move()
            muggi()

while front_is_clear():
    if next_to_a_beeper():
        while front_is_clear():
            move()
        turn_left()
        move()
        turn_left()
        muggi()
        turn_back()
    else:
        move()
turn_off()
 

본-

~cpp 
def turn_right():
    turn_left()
    turn_left()
    turn_left()

def turn_back():
    turn_left()
    turn_left()

def muggi():
    if next_to_a_beeper():
        pick_beeper()
        banbok()
        if not front_is_clear():
            turn_left()
            move()
            turn_left()
            while not next_to_a_beeper():
                move()
            while next_to_a_beeper():
                move()
            turn_back()
            move()
            turn_right()
            while next_to_a_beeper():
                move()
            turn_left()
        put_beeper()
        move()
    else:
        if front_is_clear():
            move()
            muggi()
        ()

def banbok():
    if front_is_clear():
        move()
        muggi()

def oligi():
    while next_to_a_beeper():
        move()
    turn_left()
    move()
    turn_left()
    banbok()
    turn_back()

while front_is_clear():
    move()
    if next_to_a_beeper():
        oligi()

turn_off()

 

1 리는 =0=;;



-_-)/

~

-_-v


..!!
, (는데 바뀐는..) .
.. . 노벨 . >ㅁ<;; 그런데 버그가 있다오. sort1에서 작동하지 않소!! 벽에 부딛힌다오.
부딪 . .
.
: .muggi ()는 무 ? .
--
돼는데 ;; sort1 sort.wld 맵 말냐?
()는 =0=;; 돼는;;;
더 낮 if 돼는 =0=;;

-_-!!!

... .. .. ; @0@~
뭐.. 만 말..ㅎㅎ (대 .. 데블..;;)
....ㅎㅎ
..ㅎㅎ 뭐 보는 돌보는 만..ㅎㅎㅎ
sort1 ..ㅎㅎ
sort1 는 맵..;;ㅎㅎ sort 는 맵..ㅎㅎ
..ㅎㅎ 빨리 ~~ㅎㅎ
Upload:sort1.wld
//: 러 . C를 는..

-_-)/
C ;ㅡ;
났는데 =0= -_-;;


Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:00
Processing time 0.0299 sec