first commit
This commit is contained in:
commit
26722edfbf
BIN
Baekjoon/.DS_Store
vendored
Normal file
BIN
Baekjoon/.DS_Store
vendored
Normal file
Binary file not shown.
1
Baekjoon/python/1000.py
Normal file
1
Baekjoon/python/1000.py
Normal file
@ -0,0 +1 @@
|
||||
print(sum(list(map(int,input().split()))))
|
||||
4
Baekjoon/python/1001.py
Normal file
4
Baekjoon/python/1001.py
Normal file
@ -0,0 +1,4 @@
|
||||
a, b = map(int,input().split())
|
||||
print(a-b)
|
||||
|
||||
# print(eval('+0-'.join(input())))
|
||||
5
Baekjoon/python/1008.py
Normal file
5
Baekjoon/python/1008.py
Normal file
@ -0,0 +1,5 @@
|
||||
a, b = map(int,input().split())
|
||||
print(a/b)
|
||||
|
||||
# a,_,b = input()
|
||||
# print(int(a)/int(b))
|
||||
4
Baekjoon/python/10171.py
Normal file
4
Baekjoon/python/10171.py
Normal file
@ -0,0 +1,4 @@
|
||||
print("\ /\ ")
|
||||
print(" ) ( ')")
|
||||
print("( / )")
|
||||
print(" \(__)|")
|
||||
5
Baekjoon/python/10172.py
Normal file
5
Baekjoon/python/10172.py
Normal file
@ -0,0 +1,5 @@
|
||||
print("|\\_/|")
|
||||
print("|q p| /}")
|
||||
print('( 0 )"""\\')
|
||||
print('|"^"` |')
|
||||
print("||_/=\\\\__|")
|
||||
2
Baekjoon/python/10430.py
Normal file
2
Baekjoon/python/10430.py
Normal file
@ -0,0 +1,2 @@
|
||||
a,b,c = map(int, input().split())
|
||||
print((a+b)%c,((a%c)+(b%c))%c,(a*b)%c,((a%c)*(b%c))%c)
|
||||
2
Baekjoon/python/10869.py
Normal file
2
Baekjoon/python/10869.py
Normal file
@ -0,0 +1,2 @@
|
||||
a, b = map(int, input().split())
|
||||
print(a+b,a-b,a*b,a//b,a%b)
|
||||
1
Baekjoon/python/10926.py
Normal file
1
Baekjoon/python/10926.py
Normal file
@ -0,0 +1 @@
|
||||
print(input()+'??!')
|
||||
2
Baekjoon/python/10998.py
Normal file
2
Baekjoon/python/10998.py
Normal file
@ -0,0 +1,2 @@
|
||||
a, b = map(int,input().split())
|
||||
print(a*b)
|
||||
1
Baekjoon/python/11382.py
Normal file
1
Baekjoon/python/11382.py
Normal file
@ -0,0 +1 @@
|
||||
print(sum(map(int, input().split())))
|
||||
3
Baekjoon/python/1330.py
Normal file
3
Baekjoon/python/1330.py
Normal file
@ -0,0 +1,3 @@
|
||||
a, b = map(int, input().split())
|
||||
# print(">" if a>b else "<" if a<b else "==")
|
||||
print(["<>"[a>b],"=="][a==b])
|
||||
1
Baekjoon/python/18108.py
Normal file
1
Baekjoon/python/18108.py
Normal file
@ -0,0 +1 @@
|
||||
print(int(input())-543)
|
||||
1
Baekjoon/python/2557.py
Normal file
1
Baekjoon/python/2557.py
Normal file
@ -0,0 +1 @@
|
||||
print("Hello World!")
|
||||
9
Baekjoon/python/2588.py
Normal file
9
Baekjoon/python/2588.py
Normal file
@ -0,0 +1,9 @@
|
||||
# a, b = int(input()), list(map(int, " ".join(input()).split()))
|
||||
# c = 0
|
||||
# for i in range(len(b)):
|
||||
# c += a*b[len(b)-i-1]*10**i
|
||||
# print(a*b[len(b)-i-1])
|
||||
# print(c)
|
||||
|
||||
a, b = int(input()), input()
|
||||
print(*[a*int(i) for i in b][::-1],a*int(b))
|
||||
2
Baekjoon/python/2753.py
Normal file
2
Baekjoon/python/2753.py
Normal file
@ -0,0 +1,2 @@
|
||||
y = int(input())
|
||||
print(+(y%400==0 or (y%4==0 and y%100!=0)))
|
||||
3
Baekjoon/python/9498.py
Normal file
3
Baekjoon/python/9498.py
Normal file
@ -0,0 +1,3 @@
|
||||
# a = int(input())
|
||||
# print("A" if a > 89 else "B" if a > 79 else "C" if a >69 else "D" if a>59 else "F")
|
||||
print("FFFFFFDCBAA"[int(input())//10])
|
||||
Loading…
x
Reference in New Issue
Block a user