반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 자바
- windows
- 자바스크립트
- 문자열
- CMD
- CSS
- js
- input
- 인텔리제이
- list
- Maven
- Files
- 이클립스
- ArrayList
- string
- Visual Studio Code
- table
- IntelliJ
- Button
- 이탈리아
- 배열
- Java
- Array
- date
- vscode
- Eclipse
- javascript
- 테이블
- html
- json
Archives
- Today
- Total
목록2007년 (1)
어제 오늘 내일
[백준 알고리즘] 1924 2007년(with Java)
https://www.acmicpc.net/problem/1924 2007년 1월 1일을 월요일이라고 가정했을 때,(아니 실제로 월요일이다!!)어쨌든!2007년 특정일의 요일을 알아내는 프로그램을 작성하면 된다. import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int m = sc.nextInt(); int d = sc.nextInt(); int[] mdays = new int[13]; mdays[1] = mdays[3] = mdays[5] = mdays[7] = mdays..
IT/Algorithm
2016. 9. 17. 06:30