일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- Stack
- 브루트포스
- Java
- Python
- 타입스크립트
- 파이썬
- SQL 고득점 KIT
- bfs
- 스택
- Lv. 0
- javascript
- Lv. 3
- 프로그래머스
- 문자열
- 소프티어
- Lv. 2
- Lv. 1
- Dynamic Programming
- group by
- C언어
- softeer
- level3
- 자바스크립트
- DP
- programmers
- level 3
- 너비 우선 탐색
- dfs
- Typescript
- 다이나믹프로그래밍
- Today
- Total
목록Lv. 0 (41)
몸과 마음이 건전한 SW 개발자
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181950?language=c 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 #include #define LEN_INPUT 11 int main(void) { char str[11]; // 최대 10자의 문자열 + 널 종료 문자 int n; scanf("%s %d", str, &n); // 문자열과 반복 횟수 입력 받기 for(int i = 0; i < n; i++) { printf("%s", str); // 문자열을 n번 반복..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181951 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 #include int main(void) { int a; int b; scanf("%d %d", &a, &b); printf("a = %d\n", a); printf("b = %d", b); return 0; } 풀이 방법 \n 활용 느낀점 기억이 가물가물 하다.
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181952 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 #include #define LEN_INPUT 1000001 int main(void) { char s1[LEN_INPUT]; scanf("%s", s1); printf(s1); return 0; } 풀이 방법 변수 선언 char scanf로 받은 문자를 s1에 저장 printf로 출력 느낀점 일단 쥐어 짜는 중
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181943 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 1 function solution(my_string, overwrite_string, s) { const result = []; const len_my_string = my_string.length; const len_overwrite_string = overwrite_string.length const last_overwrite_index = s + len_overwri..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181944 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 1 const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); let input = []; rl.on('line', function (line) { input = line.split(' '); }).on('clo..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181945 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 1 const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); let input = []; rl.on('line', function (line) { input = [line]; }).on('close',funct..