์ƒˆ์†Œ์‹

๐Ÿงฎ PS

์ฝ”๋“œ์—… (Code up) 1047 ~ 1048 (๋น„ํ”„ ์‹œํ”„ํŠธ ์—ฐ์‚ฐ) ํŒŒ์ด์ฌ ํ’€์ด

  • -

*1047๋ฒˆ

a = int(input())
print(a*2)

*1048๋ฒˆ

a,b = map(int,input().split())

print(a*(2**b))

*C++/CPPํ’€์ด๋„ code up ์นดํ…Œ๊ณ ๋ฆฌ์— ์žˆ์Šต๋‹ˆ๋‹ค.

Contents

ํฌ์ŠคํŒ… ์ฃผ์†Œ๋ฅผ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค

์ด ๊ธ€์ด ๋„์›€์ด ๋˜์—ˆ๋‹ค๋ฉด ๊ณต๊ฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.