Skip to content

Commit

Permalink
[#3] 2021.12.12 백준 단계별1. 입출력과 사칙연산
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesuuou committed Dec 12, 2021
1 parent 3aa81b6 commit a73429a
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Boj/입출력과 사칙연산/1000.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
a, b = input().split()
print(int(a) + int(b))
2 changes: 2 additions & 0 deletions Boj/입출력과 사칙연산/1001.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
a, b = input().split()
print(int(a) - int(b))
2 changes: 2 additions & 0 deletions Boj/입출력과 사칙연산/1008.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
a, b = input().split()
print(int(a) / int(b))
4 changes: 4 additions & 0 deletions Boj/입출력과 사칙연산/10171.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
print("\\ /\\")
print(" ) ( ')")
print("( / )")
print(" \(__)|")
5 changes: 5 additions & 0 deletions Boj/입출력과 사칙연산/10172.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
print("|\_/|")
print("|q p| /}")
print("( 0 )\"\"\"\\")
print("|\"^\"` |")
print("||_/=\\\\__|")
5 changes: 5 additions & 0 deletions Boj/입출력과 사칙연산/10430.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A, B, C = map(int, input().split())
print((A+B)%C)
print(((A%C) + (B%C))%C)
print((A*B)%C)
print(((A%C) * (B%C))%C)
2 changes: 2 additions & 0 deletions Boj/입출력과 사칙연산/10718.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
print("강한친구 대한육군")
print("강한친구 대한육군")
9 changes: 9 additions & 0 deletions Boj/입출력과 사칙연산/10869.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
a, b = input().split()
a = int(a)
b = int(b)

print(a+b)
print(a-b)
print(a*b)
print(a//b)
print(a%b)
2 changes: 2 additions & 0 deletions Boj/입출력과 사칙연산/10998.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
a, b = input().split()
print(int(a) * int(b))
1 change: 1 addition & 0 deletions Boj/입출력과 사칙연산/2557.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello World!")
7 changes: 7 additions & 0 deletions Boj/입출력과 사칙연산/2588.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
a = int(input())
b = int(input())

print(a * (b%10))
print(a * (b//10%10))
print(a * (b//100))
print(a*b)

0 comments on commit a73429a

Please sign in to comment.