Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ┏━━━┯━━━┯━━━┯━━━┓ ┏━━━┯━━━┯━━━┯━━━┓ ┏━━━┯━━━┯━━━┯━━━┓
- ┃ 2 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 2 │ 1 │ 0 │ 1 ┃
- ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃
- ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 1 │ 1 │ 1 ┃ ┃ 1 │ 0 │ 1 │ 0 ┃ 2--White 1--Blue 0--Red
- ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃
- ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 2 │ 0 │ 1 ┃ ┃ 0 │ 1 │ 0 │ 1 ┃
- ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃
- ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 1 │ 0 │ 1 │ 0 ┃
- ┗━━━┷━━━┷━━━┷━━━┛ ┗━━━┷━━━┷━━━┷━━━┛ ┗━━━┷━━━┷━━━┷━━━┛
- (S) (E) (T)
- Question:What is the move sequence of the path ?
- int main(){
- action();
- }
- action(){
- //if check success!
- if(win){
- return;}
- //insomecoditon;
- if(someCondition){
- //dosomething
- }
- //at last continue action;
- action();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement