import java.util.Scanner; public class Main{public static int[] dictionary=new int[1000];public static int cnt = 0;public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a =sc.nextInt(); sc.close(); int b=0; for (;a>0;a--) { //System.out.println("debug :: "+a); b=hn(a); if (b==1) { break; } } System.out.println(a); }public static int hn (int a){int[] number = new int[S..
알고리즘
2015. 4. 3. 20:31
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 1110
- 소인수분해
- 1143
- 팀을위한GIT
- CH340G
- 반올림
- 1103
- 최대공약수
- 1050
- 1111
- 시험후기
- 1104
- 1045
- java
- 1112
- OS설치
- 1124
- ASCII
- 1048
- 근의공식
- 1002
- acmicpc
- 센서
- 1046
- Git
- 등차수열
- 1044
- 소수
- 최소공배수
- 챗봇
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함