블로그
-
[프로그래머스] 가장 큰 수 (Python)
https://programmers.co.kr/learn/courses/30/lessons/42746# c++이 익숙해서 cmp_to_key로 후다닥 만들어서 했다! 이게 내 로직이랑 같은데 return 값 넘겨주는 방식이 정말 예술이다 boolean을 저렇게 쓴다니... 세상은 넓고 기발한 사람은 정말 많다
blog.naver.com · 2020.10.16
-
WANTED - SHINee 가사
smile 小悪魔 wanted 小悪魔 wanted Oh no Ohohohoh don't get too close to me Ohohohoh 最大級の謎 High risk なのに no return close to me Ah you're guilty しかも平然罪作りな 笑顔に現場で wink 「キミが追うから逃げたくなるの 自然なことでしょ」 確信犯 wanted 確信犯 wanted C.
blog.naver.com · 2021.01.06
-
POI HSSF 셀타입 확인
HSSFDateUtil.isCellDateFormatted(cell)){ //날짜 rtnData = "D"; }else { //숫자 rtnData = "N"; } break; default : //문자 rtnData = "C" ; break; } return rtnData; }
blog.naver.com · 2020.04.23
-
(iOS) WKWebview keyboardDisplayRequiresUserAction 설정하기
에 있는 keyboardDisplayRequiresUserAction 의 설정처럼 해준 다는 소스이다. typealias OlderClosureType = @convention(c) { get { return self.keyboardDisplayRequiresUserAction } set { self.setKe.......
blog.naver.com · 2019.10.23
-
C++ using 사용법
예제 ) include int main() { namespace a { int function(int a, int b) { return 0; } int function2(int c a; function(); function2(); return 0; }
blog.naver.com · 2019.02.28
-
dev c++프로그램 설치
dev c++프로그램 설치 http://sf.net/projects/orwelldevcpp/ http://www.bloodshed.net/dev/devcpp.html 예제1) #include amp;family); printf("나의 나이는 %d살이고, 효문여중 %d학년이다\n",age,hakbun); printf("나이 가족은 %d명이다\n\n",family); return
blog.naver.com · 2019.03.15
-
C++ 입출력 스트림
임베디드 교육 받으면서 C 언어는 정말정말 잘 해놨다고 느꼈는데 C++은 쉽지가 않다.. Java로 선회해서 (이번학기 과목이 자바다 .. ) 먼저 선행학습을 했는데도 C++이 이해가 쉽지가않다. 대충 공부해서 그런건지....
blog.naver.com · 2019.02.28
-
위상 정렬 프로그램 - 연결된 큐
g->n = 0; for (r = 0; r < MAX_VERTICES; r++) { for (c = 0; c < MAX_VERTICES; c++) { g->adj_mat [r][c] = 0; } } } void insert_vertex(GrapeType *g, int v) { if (((g->n) + 1) > MAX_VERTICES){ return
blog.naver.com · 2018.12.07
-
자료구조 스택 활용 미로탐색 프로그램
#include #include #define MAX_STACK_SIZE 100 #define MAX_SEIZE 6 typedef struct { int r; int c; }element (s->top == (MAX_STACK_SIZE - 1)); } int is_empty(StackType *s) { return (s->top == -1); } void
blog.naver.com · 2018.08.12
-
BOJ 2941 - 크로아티아 알파벳 (문자열 처리)
", "c-", "dz=", "d-", "lj", "nj", "s=", "z=" }; private String word = null; public int countWord() { if (isWordLengthZero(word)) { return 0; } int count = 0; Pat.......
blog.naver.com · 2017.09.04