일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- openjdk
- jsp #spring #java #mabatis #게시판 #시작하기
- 백준 #JAVA
- gitlab
- java StreamAPI
- 백준1330번 #JAVA
- gitdesktop
- 프로그래머스
- java
- 함수형 인터페이스
- 백준_알고리즘연습 #초보개발자 #알고리즘공부
- 코테풀이
- mybatis
- spring #mybatis #오류노트
- it #web
- 빵수집
- 띠부실
- 최애의 아이 빵
- Lv1
- 최애의 아이
- cvs 인코딩
- java #백준
- 오류노트
- taskkill
- jdk11
- SpringMVC
- 프로그래머스 예산
- JAVA_HOME
- 코딩테스트
- 백준
- Today
- Total
목록자료구조 알고리즘 (24)
1년뒤의나는다르겠지

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int number = sc.nextInt(); for(int i=1; i

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int dice1 = sc.nextInt(); int dice2 = sc.nextInt(); int dice3 = sc.nextInt(); int pizeMoney=0; if(dice1 == dice2 && dice2 == dice3) { pizeMoney = 10000; pizeMoney += (dice1 * 1000); }else if(dice1== dice2 || dice1 == dice3 || dice2==dice3) { pizeMoney = 1000; dice1 = (dice1..

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int hour = sc.nextInt(); // 시간 int minute = sc.nextInt(); // 분 int howmany = sc.nextInt(); // 필요 시간 int howHour; // 만약 필요시간이 1시간을 넘어갈경우 사용할 변수 int overFlow=0; if(howmany >= 60) { howHour = howmany / 60; //초과 분계산 howmany %= 60; // 초과 시간계산 hour+=howHour; // 목표시간 } overFlow = ..

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int hour = sc.nextInt(); int minute = sc.nextInt(); int overFlow = minute - 45; if(hour==0) { if(overFlow < 0) { hour+=23; overFlow+=60; System.out.println(hour+" "+overFlow); } else { System.out.println(hour+" "+overFlow); } } else { if(overFlow < 0) { hour-=1; overFlow+=6..

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(0

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int year = sc.nextInt(); if(year%100==0) { if(year%400==0 && year%100==0) { if(year%4==0 ) { System.out.println("1"); }else System.out.println("0"); } else System.out.println("0"); } else { if(year%4==0 ) { System.out.println("1"); } else System.out.println("0"); } } } 필자는 ..

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); if(89