Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. ┏━━━┯━━━┯━━━┯━━━┓ ┏━━━┯━━━┯━━━┯━━━┓ ┏━━━┯━━━┯━━━┯━━━┓
  2. ┃ 2 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 2 │ 1 │ 0 │ 1 ┃
  3. ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃
  4. ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 1 │ 1 │ 1 ┃ ┃ 1 │ 0 │ 1 │ 0 ┃ 2--White 1--Blue 0--Red
  5. ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃
  6. ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 2 │ 0 │ 1 ┃ ┃ 0 │ 1 │ 0 │ 1 ┃
  7. ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃ ┠———┼———┼———┼———┃
  8. ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 0 │ 0 │ 1 │ 1 ┃ ┃ 1 │ 0 │ 1 │ 0 ┃
  9. ┗━━━┷━━━┷━━━┷━━━┛ ┗━━━┷━━━┷━━━┷━━━┛ ┗━━━┷━━━┷━━━┷━━━┛
  10. (S) (E) (T)
  11. Question:What is the move sequence of the path ?
  12.  
  13. int main(){
  14. action();
  15. }
  16. action(){
  17. //if check success!
  18. if(win){
  19. return;}
  20. //insomecoditon;
  21. if(someCondition){
  22. //dosomething
  23. }
  24. //at last continue action;
  25. action();
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement