쏘ing
[Python] CLASS 1 - B5 본문
[백준 2557] Hello world
https://www.acmicpc.net/problem/2557
풀이
print(Hello World!)
[백준 1000] A + B
https://www.acmicpc.net/problem/1000
풀이
A, B = map(int, input().split())
print(A + B)
[백준 1001] A - B
https://www.acmicpc.net/problem/1001
풀이
A, B = map(int, input().split())
print(A - B)
[백준 10998] A x B
https://www.acmicpc.net/problem/10998
풀이
A, B = map(int, input().split())
print(A * B)
[백준 11654] 아스키코드
https://www.acmicpc.net/problem/11654
풀이
A = input()
print(ord(A))
[백준 10869] 사칙연산
https://www.acmicpc.net/problem/10869
풀이
A, B = map(int, input().split())
print(A + B)
print(A - B)
print(A * B)
print(A // B)
print(A % B)
[백준 10172] 개
https://www.acmicpc.net/problem/10172
풀이
print('|\_/|')
print('|q p| /}')
print('( 0 )"""\\')
print('|"^"` |')
print('||_/=\\\\__|')
[백준 10171] 고양이
https://www.acmicpc.net/problem/10171
풀이
print('\ /\\')
print(" ) ( ')")
print('( / )')
print(' \(__)|')
[백준 2475] 검증수
https://www.acmicpc.net/problem/2475
풀이
num = list(map(int, input().split()))
sum = 0
for i in num:
sum += i**2
print(sum % 10)
'알고리즘 > CLASS 1' 카테고리의 다른 글
[Python] CLASS 1 - B2 (0) | 2022.02.08 |
---|---|
[Python] CLASS 1 - B3 (0) | 2022.02.08 |
[Python] CLASS 1 - B4 (0) | 2022.02.08 |
Comments