Notice
Recent Posts
Link
Tags
- springboot
- java
- string
- DI
- Docker
- spring
- spring boot
- nginx
- Django
- ORM
- jpa
- 자바
- 데이터베이스
- hibernate
- 스프링부트
- 프로그래머스
- PYTHON
- 문자열
- static
- mysql
- SSL
- AWS
- select
- 1차원 배열
- spring security 6
- join
- @transactional
- 스프링
- spring mvc
- sql
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Archives
목록백준 5622번 (1)
개발하는 자몽

문제 코드 import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { //buffer와 switch-case를 사용한 방법 외 다른 방법 int cnt = 0; int input; while (true) { input = System.in.read(); if (input == '\n') break; if (input < 68) cnt += 3; else if (input < 71) cnt += 4; else if (input < 74) cnt += 5; else if (input < 77) cnt += 6; else if (input < 80) cnt += 7; else ..
Algorithm
2022. 4. 20. 14:42