본문 바로가기

CodeLabs

검색하기
CodeLabs
프로필사진 무오_

  • 분류 전체보기 (41)
    • 백준 (21)
      • 1000 ~ (18)
      • 5000~ (3)
      • 10000 ~ (0)
    • 네트워크 (5)
      • 서브넷 (0)
    • C++ (3)
    • C# (9)
      • 자료구조 (5)
      • 디자인패턴 (1)
      • DataTable (2)
    • Visual studio 2022 (2)
    • SOLID (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2023/08   »
일 월 화 수 목 금 토
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 31
Tags
  • InsertRange
  • c# list
  • 알고리즘
  • C++
  • List 제거
  • 네트워크 용어
  • C# Contains
  • C# Find
  • Visual Studio
  • 서브넷 마스크
  • 서브넷
  • OSI 3계층
  • IP주소
  • List 추가
  • List 찾기
  • Tostring 사용법
  • BFS
  • 백준
  • 기본 게이트웨이
  • 네트워크
  • list 사용법
  • AddRange
  • list
  • c#
  • 호스트 주소
  • List 정렬
  • TCP/IP
  • DP
  • 호스트
  • Parse 사용법
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2023/08/04 (1)

CodeLabs

[백준 / C#] 2630 : 색종이 만들기

using System; class Program { static int n = int.Parse(Console.ReadLine()); static int[,] map = new int[n, n]; static int[] cnt = new int[2]; static void Divide(int n, int y, int x) { for (int i = y; i < y + n; i++) { for (int j = x; j < x + n; j++) if (map[i, j] != map[y, x]) { Divide(n / 2, y, x); Divide(n / 2, y + n / 2, x); Divide(n / 2, y, x + n / 2); Divide(n / 2, y + n / 2, x + n / 2); re..

백준/1000 ~ 2023. 8. 4. 22:35
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바