초딩코보 루피
close
프로필 사진

초딩코보 루피

github: @denev6

  • All (43)
    • 개발일지 (5)
    • CS (14)
    • Algorithm (23)
    • Daily (0)
      • 일상 (0)
      • 후기 (0)
      • news (0)
  • 홈
  • 태그
  • 방명록
[boj] 로봇 조종하기_2169 java

[boj] 로봇 조종하기_2169 java

문제를 보자마자 dp인 건 알았지만dp 초보인 나는 제대로 된 점화식을 작성할 수 없었습니다. import java.io.*;import java.util.*;class Main { static int[] dx = {0, -1, 0}, dy = {1, 0, -1}; // bfs를 위한 델타 배열 생성(위로는 못 올라감) static int[][] mm, arr; static int N, M; public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(bf..

  • format_list_bulleted Algorithm
  • · 2025. 3. 19.

[boj] 은하철도_17250 java

import java.io.*;import java.util.*;public class Main {    static int arr[], parent[];    public static void main(String[] args) throws IOException {        BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));        StringTokenizer st = new StringTokenizer(bf.readLine());        int N = Integ..

  • format_list_bulleted Algorithm
  • · 2025. 2. 24.
[boj] ACM Craft_1005 java

[boj] ACM Craft_1005 java

import java.util.*;import java.io.*; public class Main { static int n, k, d[]; public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; int tc = Integer.parseInt(bf.readLine()); for(int t=0; t> list = new ArrayList>(); for(int i=0; i()); ..

  • format_list_bulleted Algorithm
  • · 2025. 1. 26.
[boj] 호반우 상인의 이상한 품질 계산법_20117 cpp

[boj] 호반우 상인의 이상한 품질 계산법_20117 cpp

#define _CRT_SECURE_NO_WARNINGS#include #include #include using namespace std;typedef pair p; int n, answer;int highest, lowest;int qcnt[1001];vector qual; void init() { int input; cin >> n; for (int i = 0; i > input; if (qcnt[input] == 0) qual.push_back(input); qcnt[input]++; } sort(qual.begin(), qual.end()); lowest = 0; highest = qual.size() - 1;} int mai..

  • format_list_bulleted Algorithm
  • · 2024. 12. 29.
Boj_ 회의실 배정 4 java

Boj_ 회의실 배정 4 java

import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.Arrays;import java.util.StringTokenizer;public class Main { static class Meeting implements Comparable { int start, end, people; Meeting(int start, int end, int people) { this.start = start; this.end = end; this.people = people; } ..

  • format_list_bulleted Algorithm
  • · 2024. 11. 11.
[boj] 이차원 배열과 연산17140 JAVA

[boj] 이차원 배열과 연산17140 JAVA

문제 캡처 소스 코드import java.io.*;import java.util.*;import java.util.Map.Entry;public class Main { static Comparator comparator(Map map) { return (key1, key2) -> { int value1 = map.get(key1), value2 = map.get(key2); if(value1 == value2) { return key1 - key2; } return value1 - value2; }; }; public static void main(String..

  • format_list_bulleted Algorithm
  • · 2024. 10. 27.
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • navigate_next
공지사항
전체 카테고리
  • All (43)
    • 개발일지 (5)
    • CS (14)
    • Algorithm (23)
    • Daily (0)
      • 일상 (0)
      • 후기 (0)
      • news (0)
인기 글
전체 방문자
오늘
어제
Copyright © Ruppi 모든 권리 보유.
SKIN: Copyright © 쭈미로운 생활 All rights reserved. Designed by JJuum.
and Current skin "dev-roo" is modified by Jin.

티스토리툴바