1. 2557번
print("Hello World!")
2. 1000번
A,B = input().split()
print(int(A)+int(B))
3. 1001번
A, B = input().split()
print(int(A)-int(B))
4. 10998번
A,B = input().split()
print(int(A)*int(B))
5. 1008번
A,B = input().split()
print(int(A)/int(B))
6. 10869번
A,B = input().split() // int(input().split()) 는 런타임 에러 뜸
A = int(A)
B = int(B)
print(A+B, A-B, A*B, int(A/B), A%B) // A/B는 int(A/B)로 정수형으로 바꿔줘야함
7. 10926번
id = input()
print(id+"??!")
'IT > self-study' 카테고리의 다른 글
[백준] 1차원 배열 (2월 2주차_7문제) (0) | 2024.02.12 |
---|---|
[백준] 1차원 배열 (2월 1주차_7문제) (0) | 2024.02.04 |
[백준] 반복문, 1차원 배열 (1월 4주차_7문제) (0) | 2024.01.28 |
[백준] 조건문, 반복문 (1월 3주차_7문제) (0) | 2024.01.21 |
[백준] 입출력과 사칙연산, 조건문 (1월 2주차_7문제) (1) | 2024.01.14 |