์ƒˆ์†Œ์‹

๐Ÿงฎ PS

์ฝ”๋“œ์—… (Code up) 1071 ~ 1077 (๋ฐ˜๋ณต์‹คํ–‰๊ตฌ์กฐ) ํŒŒ์ด์ฌ ํ’€์ด

  • -

๋ฌธ์ œ ๋งํฌ  : https://codeup.kr/problemsetsol.php?psid=23

 

๋ฌธ์ œ์ง‘ / ๊ธฐ์ดˆ 100์ œ

 

codeup.kr

*1071

a = list(map(int,input().split()))
for i in a :
    if i == 0:
        exit()
    else: print(i)

*1072

n = int(input())
a = list(map(int,input().split()))
for i in a :
    print(i)

*1073

a = list(map(int,input().split()))
for i in a :
    if i == 0:
        exit()
    else: print(i)

*1074

n = int(input())
for i in range(n):
    print(n-i)

*1075

n = int(input())
for i in range(n):
    print(n-i-1)

*1076

n = ord(input())
a=97
while(n+1>a) :
    print(chr(a), end=" ")
    a+=1

*1077

a = int(input())
n=0
while (a+1!=n):
    print(n)
    n+=1

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

 

Contents

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

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