목록분류 전체보기 (367)
Machineboy空
* pycharm intro shift + F10 execute shift + shift ctrl + F ctrl + F8 breakpoint # This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. def print_hi(name): # Use a breakpoint in the code line below to debug your script. print(f'Hi, {name}') # Press Ctrl+F8 to..
using System.Collections; using System.Collections.Generic; using UnityEngine; //구조체 등을 다 때려넣는 클래스용으로 DataManager만들었다 [System.Serializable] public class UserInfo { public string name; public string phone; public string email; public int age; public bool gender; } [System.Serializable] public class ShopInfo { public string name; public int price; public int model; } public class DataManager : Mon..
Unity의 저장된 폴더들 - StreamingAssets - Resources 등

VM(Virtual Machine)의 정의 VM은 실행 중인 애플리케이션과 운영체제를 포함하여 컴퓨터와 거의 동일한 모든 기능을 수행할 수 있는 컴퓨터의 가상화된 인스턴스입니다. 가상 머신은 물리적 머신에서 실행되며 하이퍼바이저라고 불리는 소프트웨어에서 컴퓨팅 리소스에 엑세스한다. 하이퍼바이저: 물리적 머신의 리소스를 필요에 따라 프로비저닝 및 배포를 할 수 있는 풀로 추상화하여 여러 VM이 단일 물리적 머신에서 실행되도록 한다. VM(Virtual Machine)의 장단점 장점 가상 머신은 유지 및 관리가 간편하며 범용성이 뛰어나다. 하나의 물리적 컴퓨터에서 여러 운영 체제 환경을 실행할 수 있다. 멀티 플랫폼과 대응이 가능하다 (android, ios 등 모든 플랫폼에서 빌드 가능) 재해 복구 및 애..

#오답 whole, part = map(int, input().split()) DNA = str(input()) A,C,G,T = map(int, input().split()) Acount = 0 Ccount = 0 Gcount = 0 Tcount = 0 AvailableCount = 0 for i in range(whole-part): k = i + part for k in range(part+k): if DNA[i]=="A": Acount +=1 elif DNA[i]=="C": Ccount +=1 elif DNA[i]=="G": Gcount +=1 elif DNA[i]=="T": Tcount +=1 if Acount >= A and Ccount >=C and Gcount >=G and Tcount >..

n = int(input()) count = 1 start_index = 1 end_index = 1 sum = 1 while end_index !=n: if sum == n: count +=1 end_index +=1 sum += end_index elif sum >n: sum -= start_index start_index +=1 else: end_index +=1 sum += end_index print(count) 오답 이유) 이런 똑똑한 알고리즘이 있다니

정렬의 종류버블 (bubble)데이터의 인접 요소끼리 비교하고, swap 연산을 수행하며 정렬하는 방식선택 (selection)대상에서 가장 크거나 작은 데이터를 찾아가 선택을 반복하면서 정렬하는 방식삽입 (insertion)대상을 선택해 정렬된 영역에서 선택 데이터의 적절한 위치를 찾아 삽입하면서 정렬하는 방식퀵 (quick)pivot 값을 선정해 해당 값을 기준으로 정렬하는 방식병합 (merge)이미 정렬된 부분 집합들을 효율적으로 병합해 전체를 정렬하는 방식기수 (radix)데이터의 자릿수를 바탕으로 비교해 데이터를 정렬하는 방식 버블정렬(Bubble Sort)두 인접한 데이터의 크기를 비교해 정렬하는 방법시간복잡도는 n2^으로 다른 정렬 알고리즘보다 속도가 느리다.시간복잡도 n2^ : n = ..