ํฐ์คํ ๋ฆฌ ๋ทฐ
๐ฉ๐ป๐ป ๋ฌธ์
โ๐ป ํ์ด
๐จ Go
package main
import (
"fmt"
)
func main() {
var a, b int
fmt.Scanf("%d %d", &a, &b)
fmt.Println(a + b)
fmt.Println(a - b)
fmt.Println(a * b)
fmt.Println(a / b)
fmt.Println(a % b)
}
๐จ Python3
import sys
a, b = sys.stdin.readline().split()
a = int(a)
b = int(b)
print(a+b)
print(a-b)
print(a*b)
print(int(a/b))
print(a%b)
728x90
'dev > algorithm' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
BOJ / 2588๋ฒ / ๊ณฑ์ [Go] [Python3] (0) | 2020.03.14 |
---|---|
BOJ / 10430๋ฒ / ๋๋จธ์ง [Go] [Python3] (0) | 2020.03.14 |
BOJ / 1008๋ฒ / A/B [Go] [Python3] (0) | 2020.03.14 |
BOJ / 10998๋ฒ / AรB [Go] [Python3] (0) | 2020.03.13 |
BOJ / 1001๋ฒ / A-B [Go] [Python3] (0) | 2020.03.13 |
๋๊ธ
๊ธ ๋ณด๊ดํจ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
TAG
- ๋ฐ๋
- ํ๋ก์ด๋์์ฌ
- dfs
- ๋งฅ๋ถ
- Macbook pro 2012 mid 13
- ๋งฅ๋ถํ๋ก
- ๋ถํ ์ ๋ณต
- ํด์๋งต
- ๋งฅ๋ถ ์ ๊ทธ๋ ์ด๋
- python3
- ๋ชฝ๊ณ ๋๋น
- baekjoon
- BFS
- ์ด๋ถํ์
- BOJ
- dp
- Golang
- go
- ์๋ฐ
- ํ
- MongoDB
- ๋ฐฑ์ค
- ์๊ฐ๊ต์ฒด
- java
- ๋ธ๋ฃจํธํฌ์ค
- Algorithm
- ballet
- ์คํ
- AWS
- ์๊ณ ๋ฆฌ์ฆ
- Total
- Today
- Yesterday