본문 바로가기

초고교급 희망

검색하기
초고교급 희망
프로필사진 연모링

  • 분류 전체보기 (53)
    • Algorithm (22)
      • Baekjoon (14)
      • Programmers (5)
    • Game (23)
      • Unity (6)
      • C# (4)
      • 개발 일지 (9)
      • Unreal (4)
    • Android (1)
    • Diary (2)
    • Book (2)
    • Operating System (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   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
Tags
  • 유한상태기계
  • 알고리즘
  • 언리얼
  • 안드로이드
  • unity
  • 구현
  • 게임개발공모전
  • UI 자동화
  • 이득우
  • binary_search
  • 재귀
  • 너비우선탐색
  • lower_bound
  • upper_bound
  • 개발일지
  • 이분탐색
  • 운영체제
  • 시리얼라이제이션
  • 유니티
  • unreal
  • 백준
  • BFS
  • 프로그래머스
  • c++
  • DFS
  • c#
  • fsm
  • 인프런
  • 게임개발
  • 웅진씽크빅
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록3190번 (1)

초고교급 희망

[백준][C++]3190번 뱀

#include #include #include using namespace std; bool map[101][101]; int n, k, l; // 보드 크기, 사과 개수, 방향 변환 횟수 int dx[4] = { 0,1,0,-1 }; int dy[4] = { 1,0,-1,0 }; bool apple[101][101]; int dir[10001]; int d; int main() { // 뱀은 큐. 뱀의 길이가 선입 선출 queue snake; cin >> n >> k; for (int i = 0; i > x >> y; apple[x][y] = true; } cin >> l; for (int i = 0; i < l; i++) { int x; string ..

Algorithm/Baekjoon 2023. 6. 21. 23:26
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바