์ƒˆ์†Œ์‹

๐Ÿงฎ PS

์ฝ”๋“œ์—… (Code up) 1031 ~ 1037 (์ถœ๋ ฅ๋ณ€ํ™˜) ํŒŒ์ด์ฌ ํ’€์ด

  • -

๋ฌธ์ œ๋งํฌ : https://codeup.kr/problem.php?id=1037

 

*1031๋ฒˆ

a = int(input())
print("%o"%a)

*1032๋ฒˆ

n = int(input())
print(format(n,'x'))

*1033๋ฒˆ

num = int(input())
print("%X"%num)

*1034๋ฒˆ

n = input()
print(int(n,8))

*1035๋ฒˆ

n = input()
print("%o"%int(n,16))

*1036๋ฒˆ

a = str(input())
print(ord(a))

*1037๋ฒˆ

a = int(input())
print(chr(a))

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

Contents

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

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