SWLUG/๋ฐฑ์ค€ BEAKJOON

[python/ํŒŒ์ด์ฌ] ๋ฐฑ์ค€ BEAKJOON 10869๋ฒˆ: ์‚ฌ์น™ ์—ฐ์‚ฐ

waterproof 2023. 6. 25. 22:51

[python/ํŒŒ์ด์ฌ] ๋ฐฑ์ค€ BEAKJOON 10869๋ฒˆ: ์‚ฌ์น™ ์—ฐ์‚ฐ

https://www.acmicpc.net/problem/10869

 

10869๋ฒˆ: ์‚ฌ์น™์—ฐ์‚ฐ

๋‘ ์ž์—ฐ์ˆ˜ A์™€ B๊ฐ€ ์ฃผ์–ด์ง„๋‹ค. ์ด๋•Œ, A+B, A-B, A*B, A/B(๋ชซ), A%B(๋‚˜๋จธ์ง€)๋ฅผ ์ถœ๋ ฅํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ž‘์„ฑํ•˜์‹œ์˜ค. 

www.acmicpc.net

 

 

1. ๋ฌธ์ œ

 

 

2. ์ •๋‹ต ๋ฐ ํ’€์ด

%d๋ฅผ &๋กœ ๋ฐ›์•„์ฃผ๋Š” ๊ฑธ๋กœ ์ฐฉ๊ฐํ•˜๊ณ  ๊ณ„์† ํ—ค๋ฉจ์Šต๋‹ˆ๋‹ค!