diff --git a/code_study/Baekjoon/python/10950.py b/code_study/Baekjoon/python/10950.py new file mode 100644 index 0000000..5c6a79f --- /dev/null +++ b/code_study/Baekjoon/python/10950.py @@ -0,0 +1,2 @@ +for i in range(int(input())): + print(sum(map(int, input().split()))) \ No newline at end of file diff --git a/code_study/Baekjoon/python/10951.py b/code_study/Baekjoon/python/10951.py new file mode 100644 index 0000000..ff307ad --- /dev/null +++ b/code_study/Baekjoon/python/10951.py @@ -0,0 +1,5 @@ +while True: + try: + print(sum(map(int,input().split()))) + except: + break \ No newline at end of file diff --git a/code_study/Baekjoon/python/10952.py b/code_study/Baekjoon/python/10952.py new file mode 100644 index 0000000..c8c2804 --- /dev/null +++ b/code_study/Baekjoon/python/10952.py @@ -0,0 +1,4 @@ +while(True): + a, b = map(int, input().split()) + if a==0 and b==0 : break + print(a+b) \ No newline at end of file diff --git a/code_study/Baekjoon/python/11021.py b/code_study/Baekjoon/python/11021.py new file mode 100644 index 0000000..032d7ba --- /dev/null +++ b/code_study/Baekjoon/python/11021.py @@ -0,0 +1,2 @@ +for i in range(int(input())): + print("Case #"+str(i+1)+":",sum(map(int,input().split()))) \ No newline at end of file diff --git a/code_study/Baekjoon/python/11022.py b/code_study/Baekjoon/python/11022.py new file mode 100644 index 0000000..2368a49 --- /dev/null +++ b/code_study/Baekjoon/python/11022.py @@ -0,0 +1,3 @@ +for i in range(int(input())): + a,b = map(int,input().split()) + print("Case #"+str(i+1)+":",a,"+",b,"=",a+b) \ No newline at end of file diff --git a/code_study/Baekjoon/python/15552.py b/code_study/Baekjoon/python/15552.py new file mode 100644 index 0000000..fd4dd9d --- /dev/null +++ b/code_study/Baekjoon/python/15552.py @@ -0,0 +1,3 @@ +import sys +for i in range(int(sys.stdin.readline())): + sys.stdout.write(str(sum(map(int, sys.stdin.readline().split())))+"\n") \ No newline at end of file diff --git a/code_study/Baekjoon/python/2438.py b/code_study/Baekjoon/python/2438.py new file mode 100644 index 0000000..c512e13 --- /dev/null +++ b/code_study/Baekjoon/python/2438.py @@ -0,0 +1,2 @@ +for i in range(int(input())): + print("*"*(i+1)) \ No newline at end of file diff --git a/code_study/Baekjoon/python/2439.py b/code_study/Baekjoon/python/2439.py new file mode 100644 index 0000000..2b537dc --- /dev/null +++ b/code_study/Baekjoon/python/2439.py @@ -0,0 +1,3 @@ +n = int(input())+1 +for i in range(1,n): + print(" "*(n-i-1)+"*"*i) \ No newline at end of file diff --git a/code_study/Baekjoon/python/25304.py b/code_study/Baekjoon/python/25304.py new file mode 100644 index 0000000..c2bca96 --- /dev/null +++ b/code_study/Baekjoon/python/25304.py @@ -0,0 +1,6 @@ +x = int(input()) +s = 0 +for i in range(int(input())): + a, b = map(int, input().split()) + s += a*b +print("Yes" if x==s else "No") \ No newline at end of file diff --git a/code_study/Baekjoon/python/25314.py b/code_study/Baekjoon/python/25314.py new file mode 100644 index 0000000..522ab3b --- /dev/null +++ b/code_study/Baekjoon/python/25314.py @@ -0,0 +1 @@ +print("long "*(int(input())//4) + "int") \ No newline at end of file diff --git a/code_study/Baekjoon/python/2739.py b/code_study/Baekjoon/python/2739.py new file mode 100644 index 0000000..fe0dd1f --- /dev/null +++ b/code_study/Baekjoon/python/2739.py @@ -0,0 +1,2 @@ +N = input() +for i in range(9) : print(N+" * "+str(i+1)+" = "+str(int(N)*(i+1))) \ No newline at end of file diff --git a/code_study/Baekjoon/python/8393.py b/code_study/Baekjoon/python/8393.py new file mode 100644 index 0000000..abdce50 --- /dev/null +++ b/code_study/Baekjoon/python/8393.py @@ -0,0 +1,2 @@ +n = int(input()) +print(n*(n+1)//2) \ No newline at end of file