20250516 baekjoon
This commit is contained in:
parent
fd296537b8
commit
16a55112a8
2
code_study/Baekjoon/python/10950.py
Normal file
2
code_study/Baekjoon/python/10950.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
for i in range(int(input())):
|
||||||
|
print(sum(map(int, input().split())))
|
||||||
5
code_study/Baekjoon/python/10951.py
Normal file
5
code_study/Baekjoon/python/10951.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
while True:
|
||||||
|
try:
|
||||||
|
print(sum(map(int,input().split())))
|
||||||
|
except:
|
||||||
|
break
|
||||||
4
code_study/Baekjoon/python/10952.py
Normal file
4
code_study/Baekjoon/python/10952.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
while(True):
|
||||||
|
a, b = map(int, input().split())
|
||||||
|
if a==0 and b==0 : break
|
||||||
|
print(a+b)
|
||||||
2
code_study/Baekjoon/python/11021.py
Normal file
2
code_study/Baekjoon/python/11021.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
for i in range(int(input())):
|
||||||
|
print("Case #"+str(i+1)+":",sum(map(int,input().split())))
|
||||||
3
code_study/Baekjoon/python/11022.py
Normal file
3
code_study/Baekjoon/python/11022.py
Normal file
@ -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)
|
||||||
3
code_study/Baekjoon/python/15552.py
Normal file
3
code_study/Baekjoon/python/15552.py
Normal file
@ -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")
|
||||||
2
code_study/Baekjoon/python/2438.py
Normal file
2
code_study/Baekjoon/python/2438.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
for i in range(int(input())):
|
||||||
|
print("*"*(i+1))
|
||||||
3
code_study/Baekjoon/python/2439.py
Normal file
3
code_study/Baekjoon/python/2439.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
n = int(input())+1
|
||||||
|
for i in range(1,n):
|
||||||
|
print(" "*(n-i-1)+"*"*i)
|
||||||
6
code_study/Baekjoon/python/25304.py
Normal file
6
code_study/Baekjoon/python/25304.py
Normal file
@ -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")
|
||||||
1
code_study/Baekjoon/python/25314.py
Normal file
1
code_study/Baekjoon/python/25314.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
print("long "*(int(input())//4) + "int")
|
||||||
2
code_study/Baekjoon/python/2739.py
Normal file
2
code_study/Baekjoon/python/2739.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
N = input()
|
||||||
|
for i in range(9) : print(N+" * "+str(i+1)+" = "+str(int(N)*(i+1)))
|
||||||
2
code_study/Baekjoon/python/8393.py
Normal file
2
code_study/Baekjoon/python/8393.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
n = int(input())
|
||||||
|
print(n*(n+1)//2)
|
||||||
Loading…
x
Reference in New Issue
Block a user