SWLUG/๋ฐฑ์ค€ BEAKJOON

[python/ํŒŒ์ด์ฌ] ๋ฐฑ์ค€ BEAKJOON 11382๋ฒˆ: ๊ผฌ๋งˆ ์ •๋ฏผ

waterproof 2023. 4. 11. 18:33

[python/ํŒŒ์ด์ฌ] ๋ฐฑ์ค€ BEAKJOON 11382๋ฒˆ: ๊ผฌ๋งˆ ์ •๋ฏผ

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

 

11382๋ฒˆ: ๊ผฌ๋งˆ ์ •๋ฏผ

์ฒซ ๋ฒˆ์งธ ์ค„์— A, B, C (1 ≤ A, B, C ≤ 1012)์ด ๊ณต๋ฐฑ์„ ์‚ฌ์ด์— ๋‘๊ณ  ์ฃผ์–ด์ง„๋‹ค.

www.acmicpc.net

 

 

 

1. ๋ฌธ์ œ

 

 

 

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

 

ํŒŒ์ด์ฌ์„ ํ™œ์šฉํ•˜์—ฌ ํ’€์—ˆ๋‹ค.

 

2. BEAKJOON ๋ฐฑ์ค€ 10869๋ฒˆ ์‚ฌ์น™ ์—ฐ์‚ฐ

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