git config --global user.name "Your Name" git config --global user.email "your_email@youremail.com" - 이때 Name 은 깃헙 아이디 아닌 설정되어 있는 사용자 이름!! 수정 필요할 때는 git config --unset user.name 하고 다시 설정 +) Github config 확인 git config --list ## 또는 git config -l git remote add origin cd // 해당 폴더로 이동 git status // git 관련 상태 확인 git init // 이 폴더를 git으로 관리할거다 (처음으로 깃 관리할 때만 설정) git add . // 이 폴더의 모든 문서를 깃 stage에 올림 g..
분류 전체보기
문제 https://www.acmicpc.net/problem/2206 풀이 풀이 ( 142020 KB, 784 ms) import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class Main { static int[][] startmap, endmap; static int[] dr = {-1, 1, 0, 0}; static int[] dc = {0, 0, -1, 1}; static int n, m; public static void main(String[] args) { Scanner sc = new Scanner(System.in); n = sc.nex..
문제 https://www.acmicpc.net/problem/18352 풀이 풀이 ( 172212 KB, 2904 ms) import sys, heapq input = sys.stdin.readline def djk(start) : global dist, cities heap = [] heapq.heappush(heap, (0, start)) dist[start] = 0 while heap : curd, cur = heapq.heappop(heap) if dist[cur] cost : dist[i[0]] = c..
sin sin : 땅과 각도가 x인 빗면을 d만큼 걸어 올라갈 때, 높이는 d의 sin x 배 sin 30º = 1/2, sin 90º = 1, sin 0º = 0 sin 150º = sin 30º = 1/2 sin (-30º) = - sin 30º cosine : co 각의 sine co각 : 90º를 만드는 각 (ex. 30º의 코각? 60º) -> cos 60º = sine 30º 라디안(radian) 각도법 vs. 호도법 각도법 : 원주를 360 등분 한 것의 하나를 1도로 정하여 각을 표현 (일반적으로 ~º 라고 하는 것) 호도법 : 호의 길이를 이용하여 각도를 재는 방법 1 라디안 = 호의 길이가 반지름과 같게 되는 만큼의 각 절대적인 각도로 57.3º에 해당 제 2 코사인 법칙 (직각삼각형 ..