Notice
Recent Posts
Link
Tags
- string
- 1차원 배열
- 문자열
- 데이터베이스
- springboot
- join
- 자바
- DI
- nginx
- ORM
- spring mvc
- spring boot
- spring security 6
- Docker
- select
- 스프링
- jpa
- 프로그래머스
- static
- AWS
- SSL
- PYTHON
- java
- hibernate
- mysql
- Django
- 스프링부트
- @transactional
- spring
- 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 | 29 | 30 |
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