ํฐ์คํ ๋ฆฌ ๋ทฐ
๐ฉ๐ป๐ป ๋ฌธ์
โ๐ป ํ์ด
๐จ Go
package main
import (
"fmt"
)
func main() {
var a, b int
fmt.Scanf("%d %d", &a, &b)
if a>b {
fmt.Println(">")
} else if a<b {
fmt.Println("<")
} else if a==b {
fmt.Println("==")
}
}
๐จ Python3
package main
import (
"fmt"
)
func main() {
var year int
fmt.Scanf("%d", &year)
if year%4 == 0 && (year%100 != 0 || year%400 == 0) {
fmt.Println(1)
} else {
fmt.Println(0)
}
}
728x90
'dev > algorithm' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
BOJ / 2753๋ฒ / ์ค๋ [Go] [Python3] (0) | 2020.03.17 |
---|---|
BOJ / 9498๋ฒ / ์ํ ์ฑ์ [Go] [Python3] (0) | 2020.03.16 |
BOJ / 2588๋ฒ / ๊ณฑ์ [Go] [Python3] (0) | 2020.03.14 |
BOJ / 10430๋ฒ / ๋๋จธ์ง [Go] [Python3] (0) | 2020.03.14 |
BOJ / 10869๋ฒ / ์ฌ์น์ฐ์ฐ [Go] [Python3] (0) | 2020.03.14 |
๋๊ธ
๊ธ ๋ณด๊ดํจ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
TAG
- MongoDB
- ํด์๋งต
- ํ๋ก์ด๋์์ฌ
- Macbook pro 2012 mid 13
- AWS
- java
- ์๊ฐ๊ต์ฒด
- ๋ถํ ์ ๋ณต
- Algorithm
- python3
- Golang
- ๋ธ๋ฃจํธํฌ์ค
- ํ
- go
- ๋ชฝ๊ณ ๋๋น
- ์๊ณ ๋ฆฌ์ฆ
- ๋งฅ๋ถ ์ ๊ทธ๋ ์ด๋
- baekjoon
- ์คํ
- ๋ฐฑ์ค
- ์ด๋ถํ์
- ballet
- dp
- ๋งฅ๋ถ
- BFS
- dfs
- BOJ
- ์๋ฐ
- ๋ฐ๋
- ๋งฅ๋ถํ๋ก
- Total
- Today
- Yesterday