boj)3085 - 사탕 게임
import java.io.*; public class boj_3085 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static char[][] a; // 연속된 길이 체크 static int check(char[][] a) { int n = a.length; int ans = 1; for (int i = 0; i < n; i++) { int cnt = 1; // 같은 행에서의 연속길이 체크 for (int j = 1; j < n; j++) { if (a[i][j] == a[i][j-1]) { cnt ++; } else { cnt = 1; } if (ans < cnt) ans = cnt; } cnt =..
PS/boj
2020. 9. 21. 20:18
링크
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 패스트캠퍼스 컴퓨터공학 완주반
- js api
- 드림코딩
- js array
- JPA 연관관계 매핑
- js promise
- HTTP 완벽 가이드
- Spring Security
- 이펙티브자바 스터디
- dreamcoding
- 킹수빈닷컴
- HTTP 완벽가이드
- 프로그래머스 SQL
- 백기선 스터디
- 이펙티브자바 아이템59
- 프로그래머스
- java
- ㅇㄷㅇㅈ
- 백준
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
- GCP
- 김영한 JPA
- http
- 김영한 http
- 모던자바스크립트
- 이펙티브자바 아이템60
- REST API
- 이펙티브자바
- BOJ
- JS 딥다이브
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함