ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๐Ÿ‘ฉ๐Ÿป‍๐Ÿ’ป ๋ฌธ์ œ

 

10998๋ฒˆ: A×B

๋‘ ์ •์ˆ˜ A์™€ B๋ฅผ ์ž…๋ ฅ๋ฐ›์€ ๋‹ค์Œ, A×B๋ฅผ ์ถœ๋ ฅํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ž‘์„ฑํ•˜์‹œ์˜ค.

www.acmicpc.net


โœ๐Ÿป ํ’€์ด

๐ŸŽจ Go

package main

import (
	"fmt"
)

func main() {
	var a, b int
	fmt.Scanf("%d %d", &a, &b)
	fmt.Println(a * b)
}

๐ŸŽจ Python3

import sys

a, b = sys.stdin.readline().split()
print(int(a)*int(b))
728x90

'dev > algorithm' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

BOJ / 10869๋ฒˆ / ์‚ฌ์น™์—ฐ์‚ฐ [Go] [Python3]  (0) 2020.03.14
BOJ / 1008๋ฒˆ / A/B [Go] [Python3]  (0) 2020.03.14
BOJ / 1001๋ฒˆ / A-B [Go] [Python3]  (0) 2020.03.13
BOJ / 1000๋ฒˆ / A+B [Go] [Python3]  (0) 2020.03.13
BOJ / 10172๋ฒˆ / ๊ฐœ [Go] [Python3]  (0) 2020.03.13
๋Œ“๊ธ€