일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 사파리 월드
- 10926
- debugSymbolLevel
- 2525
- dp
- Class Delegation
- Counting The number
- 1330
- 18108
- Android
- 새싹
- 디버그심볼
- BitMasking
- kotlin
- 파이썬
- 개수 세기
- safari world
- 백준1476
- 기본메신저
- 백준
- 10807
- 브루트포스
- 10430
- baekjoon
- PreferenceManager
- 꼬마 정민
- 백준1107
- 백준3085
- 코틀린
- 25083
- Today
- Total
목록Algorithm/[solved.ac] 새싹 Class (4)
세상을 더 좋게
https://www.acmicpc.net/problem/2420 2420번: 사파리월드 첫째 줄에 두 도메인의 유명도 N과 M이 주어진다. (-2,000,000,000 ≤ N, M ≤ 2,000,000,000) www.acmicpc.net fun main() { val input = readLine()!!.split(" ") val N = input[0].toLong() val M = input[1].toLong() val result = Math.abs(N - M) println(result) } Do you know get absolute value with kotlin? If you get it, this problem is very simple. But be careful to number ty..
https://www.acmicpc.net/problem/11382 11382번: 꼬마 정민 첫 번째 줄에 A, B, C (1 ≤ A, B, C ≤ 1012)이 공백을 사이에 두고 주어진다. www.acmicpc.net We need to concept in overflow to resolve this problem. The number received restricted in 10^15. So we do not use 'Int' but 'Long' type. OVerflow occurs when there are insufficient bits in a binary number representation to portray the result of an arithmetic operation. fun m..
https://www.acmicpc.net/problem/25083 25083번: 새싹 아래 예제와 같이 새싹을 출력하시오. www.acmicpc.net Double quotation marks is good answer in this problem. because double qutation marks used in situation to express raw text. fun main() { println(""" ,r'"7 r`-_ ,' ,/ \. ". L_r' `~\/ | |""") }
https://www.acmicpc.net/problem/10699 10699번: 오늘 날짜 서울의 오늘 날짜를 출력하는 프로그램을 작성하시오. www.acmicpc.net I will solve alogorythme problem in 'solved.ac'. Because that website is interesting me. Rating system, problem categorization. The rating system proveded a gaming-like experience, reminiscent of playing the globally renowned game 'LOL', making solving problems feel like playing a game. Kotlin import..