[2739]
n = int(input())
for i in range(1,10):
print(n, '*', i, '=', n*i)
[10950]
t = int(input())
for i in range(t):
a, b = map(int, input().split())
print(a + b)
[8393]
n = int(input())
r = 0
for i in range(n+1):
r = r + i
print(r)
[15552]
import sys
n = int(input())
for i in range(n):
a, b = map(int, sys.stdin.readline().split())
print(a + b)
[2741]
n = int(input())
for i in range(1,n+1):
print(i)
[2742]
import sys
input = sys.stdin.readline
n = int(input())
for i in range (n,0,-1):
print(i)
[11021]
import sys
input = sys.stdin.readline
t = int(input())
for i in range(1, t+1):
A, B = map(int, input().split())
print(f'Case #{i}: {A + B}')
[11022]
import sys
input = sys.stdin.readline
t = int(input())
for i in range(1,t+1):
a, b = map(int, input().split())
print(f"Case #{i}: {a} + {b} = {a+b}")
[2438]
n = int(input())
for i in range(1,n+1):
print('*'*i)
[2439]
n = int(input())
for i in range(1,n+1):
print(' '*(n-i) + '*'*i)
[10871]
import sys
input = sys.stdin.readline
n, x = map(int, input().split())
a = []
a = list(map(int, input().split()))
for i in range(n):
if a[i] < x:
print(a[i], end=' ')
'Algorithm' 카테고리의 다른 글
[Baekjoon] - 1차원 배열 (0) | 2021.06.01 |
---|---|
Baekjoon - while (0) | 2021.05.30 |
Baekjoon - if (0) | 2021.05.30 |
[Codeup] Python 기초 100제(6) (0) | 2021.05.27 |
[Codeup] Python 기초 100제(5) (0) | 2021.05.26 |
댓글