20240607 Baekjoon
This commit is contained in:
parent
f161ac4b8a
commit
35fd93d00a
2
Baekjoon/python/10950.py
Normal file
2
Baekjoon/python/10950.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
for i in range(int(input())):
|
||||||
|
print(sum(map(int,input().split())))
|
||||||
3
Baekjoon/python/15552.py
Normal file
3
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")
|
||||||
7
Baekjoon/python/25304.py
Normal file
7
Baekjoon/python/25304.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
X = int(input())
|
||||||
|
Y = 0
|
||||||
|
for i in range(int(input())):
|
||||||
|
A, B = map(int,input().split())
|
||||||
|
Y += A*B
|
||||||
|
if X==Y : print("Yes")
|
||||||
|
else : print("No")
|
||||||
1
Baekjoon/python/25314.py
Normal file
1
Baekjoon/python/25314.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
print("long "*(int(input())//4) + "int")
|
||||||
2
Baekjoon/python/8393.py
Normal file
2
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