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.0122 sec