끄적끄적 보니타

  • 홈

게임 1

백준 게임(1103번 문제) Python3 코드

코드) --> 런타임 에러 남 왜 나는지 알려줘~ n, m = map(int, input().split(" ")) board_state = [list(input()) for _ in range(n)] visited_board = [[False] * m for _ in range(n)] count_board = [[-1] * m for _ in range(n)] #top, bottom, left, right dx = [-1, 1, 0, 0] dy = [0, 0, -1, 1] x, y= [0, 0] def move(x, y): if (x > n-1 or x m-1 or y < 0) or board_state[x][y] == 'H': return 0 if visited_board[x][..

Algorithm/Baekjoon 2019.10.19
이전
1
다음
더보기
프로필사진

끄적끄적 보니타

더 나은 개발자가 되기 위해... ※ 잘못된 정보가 있거나 추가적인 정보가 필요하다면 피드백 부탁드립니다~

  • 분류 전체보기 (322)
    • Programming (98)
      • Python (2)
      • Java (0)
      • JavaScript & TypeScr.. (69)
      • Shell (2)
      • Unity (1)
    • Web (17)
    • Linux (8)
    • Algorithm (141)
      • Baekjoon (67)
      • Do it (30)
      • codewars (28)
      • Programmers (2)
      • SWEA (10)
      • algospot (0)
    • AI (4)
    • Database (7)
    • Security (8)
    • 기타 (26)
    • 교육 (10)
      • 자격증 (1)
      • 컨퍼런스 & 워크샵 (8)
      • 도큐먼트 & 관련 서적 (1)
    • Project (0)
    • 일상 (1)
    • 영어 (1)

Tag

overthewire, python2, 백준, baekjoon, 답안, C, angular5, 자료구조, python3, BOJ, wargames, Angular, Command, Python, C언어, OverTheWire:Natas, DOIT, 알고리즘, Over_The_Wire, Linux,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • github 주소
  • 01210210
  • 예프

티스토리툴바