Skip to content

Instantly share code, notes, and snippets.

View ManduTheCat's full-sized avatar
디비 공부중

myurngJin kim ManduTheCat

디비 공부중
View GitHub Profile
@ManduTheCat
ManduTheCat / the_tree.cpp
Last active November 15, 2021 18:51
tree_p
#include <iostream>
#include <vector>
#include <string.h>
using namespace std;
vector <int> adj_list[3001];// 인접 리스트 // 이중배열 // 내가 간선리스트로 잘못알려줌 ㅈㅅㅈㅅ;;
vector <int> route;
int root_value;
int check[3001];
Java 43 hrs 24 mins ████████████████████░ 95.6%
Text 1 hr 19 mins ▌░░░░░░░░░░░░░░░░░░░░ 2.9%
Markdown 25 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.9%
GitIgno... 13 mins ░░░░░░░░░░░░░░░░░░░░░ 0.5%
CLASS 0 secs ░░░░░░░░░░░░░░░░░░░░░ 0.0%
  1. 문자열 제품 [black, m , 1] 처럼 색 size 갯수 가 주어질때 사이즈, 색 별 갯수를 새는 pivot talble 을 반환하는 함수를 만들어라
input =[[khacki, m , 1],[black, s , 1],[white, m , 1],[black, m , 1],[black, l , 1],[black, m , 2]]

를 피벗 테이블로 변환하면 *

제목 s m l
black 1 3 1
def main():
n = (input())
countTwo = []
countTree = []
countFive = []
try:
int(n)
if int(n) < 0:
print("2보다 큰 자연수를 입력해 주세요!")
else:
public class DigitTest2 {
public static void main(String[] args) {
int[][] nums = new int[][]{{1,2,3,4,5},{6,7,8},{9},{10,11,12},{13,14,15,16,17}};
int maxLen = 0;
// 기준이 되는 최대 길이를 찾는다.
for (int[] ints : nums) {
if (maxLen < ints.length) {
maxLen = ints.length;
}
}
package com.ssafy.ws.step3;
import java.io.*;
import java.util.*;
import java.util.stream.Collectors;
/**
* B구획의 빌딩 최고 높이 구하기
*/
public class BuildingTest {
package com.ssafy.hw06.step2;
public class VipUser extends User {
// 새로 추가된 필드 접근 제한자 설정
private String grade;
private int point;
package com.ssafy.ws.step3;
import java.io.*;
import java.util.*;
import java.util.stream.Collectors;
/**
* B구획의 빌딩 최고 높이 구하기
*/
public class BuildingTest {
package baeckjoon_1244;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
package online.week4.day04;
import java.util.Arrays;
import java.util.Scanner;
public class PermutaiotnTest2 {
// 경우의수 잘나오는지 카운팅스톼
static int N , totalCnt, R;
//뽑인수
static int [] numbers, input;