philschmid/DMath huggingface dataset:
Category: Correspondence

Question (EN): Both 170 minus 8 and 120 minus 12 are multiples of a certain number, and the remainder of 268 divided by the number is the number minus 2. Find the number.
Question (KO): 170에서 8을 뺀 값과 120에서 12를 뺀 값은 모두 어떤 수의 배수이고 268을 어떤 수로 나눈 나머지는 어떤 수에서 2를 뺀 값이다. 어떤 수를 구하시오.

Answer: 54

Solution (Python):
var_a = 170
var_b = 8
var_c = var_a - var_b
var_d = 268
var_e = 2
var_f = var_d + var_e
var_g = math.gcd(int(var_f), int(var_c))
var_h = 120
var_i = 12
var_j = var_h - var_i
var_k = math.gcd(int(var_j), int(var_g))
print(int(var_k))
Category: Correspondence

Question (EN): By mistakenly subtracting 20 from a number gives 52, when 4 should have divided by a number. How much do you get when you calculate it correctly?
Question (KO): 4를 어떤 수에 나누어야 할 것을 잘못하여 20을 어떤 수에 뺀 결과는 52가 나옵니다. 바르게 계산하면 얼마인가요?

Answer: 18

Solution (Python):
var_a = 52
var_b = 20
var_c = var_a + var_b
var_d = 4
var_e = var_c / var_d
print(int(var_e))
Category: Arithmetic calculation

Question (EN): There are four numbers 10, 11, 12, and 13. Divide the 3rd largest number by the 2nd largest number.
Question (KO): 4개의 수 10, 11, 12, 13이 있습니다. 그 중에서 3번째로 큰 수와 2번째로 큰 수로 나눈 값은 얼마입니까?

Answer: 0.92

Solution (Python):
var_a = 10
var_b = 11
var_c = 12
var_d = 13
list_a= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_e = 3
list_b=list_a.copy()
list_b.sort()
var_f = list_b[-var_e]
var_g = 2
list_c=list_a.copy()
list_c.sort()
var_h = list_c[-var_g]
var_i = var_f / var_h
print('{:.2f}'.format(round(var_i+1e-10,2)))
Category: Correspondence

Question (EN): The number is half the product of 8 and 9 minus 12. What is the answer if the number is subtracted from 35?
Question (KO): 어떤 수는 8과 9의 곱에서 12를 뺀 값의 절반이다. 어떤 수를 35에서 빼면 얼마인지 구하시오.

Answer: 5

Solution (Python):
var_a = 35
var_b = 8
var_c = 9
var_d = var_b * var_c
var_e = 12
var_f = var_d - var_e
var_g = 2
var_h = var_f / var_g
var_i = var_a - var_h
print(int(var_i))
Category: Arithmetic calculation

Question (EN): Hyeonsu's house and Seunga's house are 2 kilometers (km) and 100 meters (m) apart. When Hyeonsu and Seunga decided to meet somewhere between their respective houses, if Hyeonsu walked 200 meters (m) longer than Seunga, how many kilometers (km) did Hyeonsu walk in total?
Question (KO): 현수네 집과 승아네 집은 2킬로미터(㎞) 100미터(m) 떨어져 있습니다. 현수와 승아가 각자의 집 사이 어딘가에서 만나기로 했을 때, 현수가 승아보다 200미터(m) 더 걸었다면 현수가 걸은 거리는 총 몇 킬로미터(㎞)입니까?

Answer: 1150

Solution (Python):
var_a = 2
var_b = 1000
var_c = var_a * var_b
var_d = 100
var_e = var_c + var_d
var_f = 200
var_g = var_e + var_f
var_h = 2
var_i = var_g / var_h
print(int(var_i))
Category: Comparison

Question (EN): Yoojeong, Eunji, and Yuna keep track of how much water they drink. Yoojeong drank 7/10 liters (L), and Eunji drank 0.5 liters (L). If Yuna drank 6/10 liters (L), who drank the most water?
Question (KO): 유정이, 은지, 유나는 물을 마시는 양을 기록하고 있습니다. 유정이가 7/10 7/10리터(L), 은지가 0.5리터(L)를 마셨습니다. 유나가 6/10리터(L)를 마셨다면, 물을 가장 많이 마신 사람은 누구입니까?

Answer: Yoojeong

Solution (Python):
var_a = 'Yoojeong'
var_b = 'Eunji'
var_c = 'Yuna'
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 7
var_e = 10
var_f = var_d / var_e
var_g = 0.5
var_h = 6
var_i = 10
var_j = var_h / var_i
list_b= []
if "/" in str(var_j):
    var_j = eval(str(var_j))
list_b.append(var_j)
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_b.append(var_g)
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_b.append(var_f)
list_b.reverse()
var_k = 1
list_c=list_b.copy()
list_c.sort()
var_l = list_c[-var_k]
var_m = list_b.index(var_l)+1
var_n = list_a[var_m-1]
print(var_n)
Category: Possibility

Question (EN): When 2 novels and 3 essays are placed on a bookshelf, find the number of cases in which the novels must be placed next to each other.
Question (KO): 소설책 2권, 수필책 3권을 책꽂이에 꽂을 때, 소설책끼리는 반드시 이웃하게 세우는 경우의 수를 구하시오.

Answer: 48

Solution (Python):
var_a = 1
var_b = 3
var_c = var_a + var_b
var_d = 1
var_e = 3
var_f = var_d + var_e
var_g = 1
var_c = int(var_c)
var_f = int(var_f)
for i, elem in enumerate(range(var_f)):
    var_g = var_g * (var_c-i)
var_h = 2
var_i = 2
var_j = 1
var_h = int(var_h)
var_i = int(var_i)
for i, elem in enumerate(range(var_i)):
    var_j = var_j * (var_h-i)
var_k = var_g * var_j
print(int(var_k))
Category: Geometry

Question (EN): You are going to draw as many circles with a radius of 2 centimeters (cm) on the paper as possible without overlapping them. If the given piece of paper is 20 centimeters (cm) wide and 16 centimeters (cm) long, how many can you draw?
Question (KO): 반지름이 2센티미터(㎝)인 원을 겹치지 않게 종이 안에 최대한 많이 그리고자 합니다. 주어진 종이가 가로 20센티미터(㎝), 세로 16센티미터(㎝)라면 몇 개까지 그릴 수 있습니까?

Answer: 20

Solution (Python):
var_a = 20
var_b = 2
var_c = 2
var_d = var_b * var_c
var_e = var_a // var_d
var_f = 16
var_g = 2
var_h = 2
var_i = var_g * var_h
var_j = var_f // var_i
var_k = var_e * var_j
print(int(var_k))
Category: Correspondence

Question (EN): If you multiply a number by 6/4 and then by 9/4, you get 18/5. Find the number.
Question (KO): 어떤 수에 6/4를 곱하고 다시 9/4를 곱하면 18/5가 된다. 어떤 수를 구하시오.

Answer: 0.71

Solution (Python):
var_a = 3.6
var_b = 2.25
var_c = var_a / var_b
var_d = 2.25
var_e = var_c / var_d
print('{:.2f}'.format(round(var_e+1e-10,2)))
Category: Geometry

Question (EN): Miyoung has 27 cube-shaped boxes with 3 centimeters (cm) edges. These boxes were stacked to form a large cube again. Find the surface area of the large cube.
Question (KO): 미영이는 한 모서리의 길이가 3센티미터(㎝)인 정육면체 모양의 상자를 27개 가지고 있습니다. 이 상자들을 쌓아 다시 큰 정육면체 모양을 만들었습니다. 큰 정육면체의 겉넓이를 구하시오.

Answer: 486

Solution (Python):
var_a = 3
var_b = 27
var_c = 0.3333333333333333
var_d = var_b ** var_c
var_e = var_a * var_d
var_f = 2
var_g = var_e ** var_f
var_h = 6
var_i = var_g * var_h
print(int(var_i))
Category: Arithmetic calculation

Question (EN): (a) trees are twice as many trees as (b) trees, and (a) trees are 15 fewer trees than (c) trees. If there are 47 (c) trees, how many (a), (b), (c) trees are there in all?
Question (KO): (나) 나무 수의 2배 만큼 (가) 나무가 있고, (가) 나무는 (다) 나무보다 15그루 더 적습니다. (다) 나무가 47그루 있을 때, (가), (나), (다), 나무는 모두 몇 그루 있습니까?

Answer: 95

Solution (Python):
var_a = 47
var_b = 15
var_c = var_a - var_b
var_d = 47
var_e = 15
var_f = var_d - var_e
var_g = 2
var_h = var_f / var_g
var_i = var_c + var_h
var_j = 47
var_k = var_i + var_j
print(int(var_k))
Category: Correspondence

Question (EN): Some numbers are less than 20 but not multiples of 2. Find which number it is from 16, 18, 19, and 21.
Question (KO): 어떤 수는 20보다 작지만 2의 배수는 아닙니다. 16, 18, 19, 21 중 어떤 수를 구하시오.

Answer: 19

Solution (Python):
var_a = 16
var_b = 18
var_c = 19
var_d = 21
list_a= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_e = 2
list_b = []
var_e = int(var_e)
for i in list_a:
    i = int(i)
    if i % var_e == 0:
        list_b.append(i)
list_c = list(set(list_a) - set(list_b))
var_f = 20
list_d = []
for i in list_c:
    if i < var_f:
        list_d.append(i)
var_g = 1
var_h = list_d[var_g-1]
print(int(var_h))
Category: Arithmetic calculation

Question (EN): Dong-jin bought a bag of tangerines with 1/2 of his money. He gave 3/8 of the money left over from buying tangerines to his younger brother. If Dong-jin's current money is 2,500 won, how much is the tangerine he bought per bag?
Question (KO): 동진이는 가진 돈의 1/2을 사용하여 귤 한 봉지를 샀습니다. 귤을 사고 남은 돈의 3/8은 동생에게 줬습니다. 현재 동진이가 가진 돈이 2500원 일 때, 동진이가 산 귤은 한 봉지에 얼마인지 구하세요.

Answer: 4000

Solution (Python):
var_a = 2500
var_b = 1
var_c = 0.375
var_d = var_b - var_c
var_e = var_a / var_d
var_f = 0.5
var_g = var_e / var_f
var_h = 0.5
var_i = var_g * var_h
print(int(var_i))
Category: Geometry

Question (EN): How many centimeters (cm) is the length of one side of a regular tetradecagon if the sum of all the sides is 154 centimeters (cm)?
Question (KO): 모든 변의 길이의 합이 154센티미터(㎝)인 정십사각형의 한 변의 길이는 몇 센티미터(㎝)인가?

Answer: 11

Solution (Python):
var_a = 154
var_b = 14
var_c = var_a / var_b
print(int(var_c))
Category: Correspondence

Question (EN): Any number divided by 3 plus 12 equals 20. Find the number that satisfies the condition.
Question (KO): 어떤 수를 3으로 나눈 값에 12를 더하면 20이 됩니다. 어떤 수를 구하시오.

Answer: 24

Solution (Python):
var_a = 20
var_b = 12
var_c = var_a - var_b
var_d = 3
var_e = var_c * var_d
print(int(var_e))
Category: Geometry

Question (EN): Jung-woo wants to find the volume of a cube. The cube is in the shape of a cube and has a surface area of 150 square centimeters (cm2). How much is the answer?
Question (KO): 정우는 큐브의 부피를 구하고 싶다. 큐브는 정육면체 모양이고, 겉넓이는 150제곱센티미터(㎠)이다. 답은 얼마인가?

Answer: 125

Solution (Python):
var_a = 150
var_b = 6
var_c = var_a / var_b
var_d = 0.5
var_e = var_c ** var_d
var_f = 3
var_g = var_e ** var_f
print(int(var_g))
Category: Possibility

Question (EN): Using the four number cards 0, 1, 4, and 8 once each, find the third largest three-digit number with the ones digit of 8.
Question (KO): 4개의 숫자 카드 0, 1, 4, 8을 한 번씩 사용하여 일의 자리 숫자가 8인 세 번째 큰 세 자리 수를 구하시오.

Answer: 148

Solution (Python):
var_a = 0
var_b = 1
var_c = 4
var_d = 8
list_a= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_e = 3
list_b = [str(i) for i in list_a]
list_b = list(itertools.permutations(list_b, var_e))
list_b = [''.join(num_list) for num_list in list_b]
list_b = [str_num for str_num in list_b if str_num[0] != '0']
list_b = [float(i) for i in list_b]
var_f = 1
var_g = 8
list_c = [] 
var_f = int(var_f)
var_g = int(var_g)
for i in list_b:
    i = int(i)
    if (i//var_f)%10 == var_g:
        list_c.append(i)
var_h = 3
list_d=list_c.copy()
list_d.sort()
var_i = list_d[-var_h]
print(int(var_i))
Category: Correspondence

Question (EN): A4+B82=216. How much is B?
Question (KO): A4+B82=216입니다. B는 얼마인가요?

Answer: 1

Solution (Python):
var_a = 'A4+B82=216'
var_b = 'B'
ans_dict = dict()
var_a = var_a.replace('×','*')
var_a = var_a.replace('x','*')
var_a = var_a.replace('÷','/')
variable_candi = set(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
for v in set(var_a):
    if v in variable_candi:
        ans_dict[v] = 1
candi = list(itertools.product('0123456789', repeat=len(ans_dict)))
for c in candi:
    temp = var_a
    for i, (k, _) in enumerate(ans_dict.items()):
        temp = temp.replace(k, str(c[i]))
    term_list = []
    op_list = []
    temp_c = ''
    for tc in temp:
        if tc not in '+-*/=><().':
            temp_c += tc
        else:
            op_list.append(tc)
            term_list.append(temp_c)
            temp_c = ''
    term_list.append(temp_c)
    new_eq = ''
    for i in range(len(op_list)):
        new_eq += str(int(term_list[i]))+op_list[i]
    new_eq += str(int(term_list[-1]))
    if len(new_eq) == len(var_a):
        new_eq=new_eq.replace('=', '==')
        new_eq=new_eq.replace('>==', '>=')
        new_eq=new_eq.replace('<==', '<=')
        eval_result = False
        try:
            eval_result = eval(new_eq)
        except:
            pass
        if eval_result:
            for i, (k, _) in enumerate(ans_dict.items()):
                ans_dict[k] = int(c[i])
var_c = ans_dict[var_b]
print(int(var_c))
Category: Geometry

Question (EN): What is the total number of faces in a tetrahedron?
Question (KO): 정사면체에서 면의 수는 모두 몇개인가요?

Answer: 4

Solution (Python):
var_a = 4
print(int(var_a))
Category: Correspondence

Question (EN): Sunmi's Korean language score is 40 points. The sum of Sunmi's Korean language score and math score is multiplied by 5 to get 555. Multiply her math score by 7 and then subtract 55 to find what it is.
Question (KO): 선미의 국어 점수는 40점이다. 선미의 국어 점수와 수학 점수의 합에 5배를 하면 555이다. 수학 점수에 7배를 한 후 55를 빼면 얼마인지 구하시오.

Answer: 442

Solution (Python):
var_a = 555
var_b = 5
var_c = var_a / var_b
var_d = 40
var_e = var_c - var_d
var_f = 7
var_g = var_e * var_f
var_h = 55
var_i = var_g - var_h
print(int(var_i))
Category: Correspondence

Question (EN): When 34 is divided by the natural number A, the remainder is 4 and the quotient is 6. Find the right value for A.
Question (KO): 34를 자연수 A로 나눴더니 나머지가 4, 몫이 6이 되었습니다. A에 알맞은 값을 구하시오.

Answer: 5

Solution (Python):
var_a = 34
var_b = 4
var_c = var_a - var_b
var_d = 6
var_e = var_c / var_d
print(int(var_e))
Category: Arithmetic calculation

Question (EN): Seokjin had 100 sheets of paper. If he made 3 notebooks of 30 pages with this paper, how many sheets of paper are left?
Question (KO): 석진이가 100장의 종이를 가지고 있었습니다. 이 종이로 30장짜리 공책을 3권 만들었다면 종이는 몇 장 남아 있습니까?

Answer: 10

Solution (Python):
var_a = 100
var_b = 30
var_c = 3
var_d = var_b * var_c
var_e = var_a - var_d
print(int(var_e))
Category: Geometry

Question (EN): Find the number of diagonals drawn from the vertex of a figure enclosed by 12 sides.
Question (KO): 12개의 변으로 둘러싸인 도형의 한 꼭짓점에서 그을 수 있는 대각선은 몇 개인지 구하시오.

Answer: 9

Solution (Python):
var_a = 12
var_b = 3
var_c = var_a - var_b
print(int(var_c))
Category: Geometry

Question (EN): Find the sum of the volumes of two cubes whose edges are 5 centimeters (cm) long.
Question (KO): 모서리의 길이가 5센티미터(㎝)인 정육면체 2개의 부피의 합을 구하라.

Answer: 250

Solution (Python):
var_a = 5
var_b = 5
var_c = 2
var_d = var_b * var_c
var_e = var_a * var_d
var_f = 5
var_g = var_e * var_f
print(int(var_g))
Category: Comparison

Question (EN): When people stand in a line, there are 5 people standing between the person standing at the front and the person standing at the tail. How many people are in line?
Question (KO): 사람들이 한 줄로 섰을 때 맨 앞에 서 있는 사람과 맨 뒤에 서있는 사람 사이에 5명이 서 있습니다. 줄을 선 사람은 모두 몇 명입니까?

Answer: 7

Solution (Python):
var_a = 5
var_b = 2
var_c = var_a + var_b
print(int(var_c))
Category: Correspondence

Question (EN): There are 60 kinds of school supplies, such as pencils, notebooks, erasers, and ballpoint pens. If there are 5 pencils, 10 notebooks, and 32 erasers, how many ballpoint pens are there?
Question (KO): 60개가 있는 학용품의 종류에는 연필, 공책, 지우개, 볼펜이 있다. 연필이 5개, 공책이 10개, 지우개가 32개 있다면 볼펜은 몇 개가 있는지 구하시오.

Answer: 13

Solution (Python):
var_a = 60
var_b = 32
var_c = var_a - var_b
var_d = 10
var_e = var_c - var_d
var_f = 5
var_g = var_e - var_f
print(int(var_g))
Category: Correspondence

Question (EN): If two different numbers A and B satisfy the addition expression AB+25=B3, what is B?
Question (KO): 서로 다른 두 수 A와 B가 덧셈식 AB+25=B3을 만족한다면, B는 무엇입니까?

Answer: 8

Solution (Python):
var_a = 'AB+25=B3'
var_b = 'B'
ans_dict = dict()
var_a = var_a.replace('×','*')
var_a = var_a.replace('x','*')
var_a = var_a.replace('÷','/')
variable_candi = set(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])
for v in set(var_a):
    if v in variable_candi:
        ans_dict[v] = 1
candi = list(itertools.product('0123456789', repeat=len(ans_dict)))
for c in candi:
    temp = var_a
    for i, (k, _) in enumerate(ans_dict.items()):
        temp = temp.replace(k, str(c[i]))
    term_list = []
    op_list = []
    temp_c = ''
    for tc in temp:
        if tc not in '+-*/=><().':
            temp_c += tc
        else:
            op_list.append(tc)
            term_list.append(temp_c)
            temp_c = ''
    term_list.append(temp_c)
    new_eq = ''
    for i in range(len(op_list)):
        new_eq += str(int(term_list[i]))+op_list[i]
    new_eq += str(int(term_list[-1]))
    if len(new_eq) == len(var_a):
        new_eq=new_eq.replace('=', '==')
        new_eq=new_eq.replace('>==', '>=')
        new_eq=new_eq.replace('<==', '<=')
        eval_result = False
        try:
            eval_result = eval(new_eq)
        except:
            pass
        if eval_result:
            for i, (k, _) in enumerate(ans_dict.items()):
                ans_dict[k] = int(c[i])
var_c = ans_dict[var_b]
print(int(var_c))
Category: Geometry

Question (EN): Suzy has a piece of colored paper in the shape of a square with each side measuring 6 centimeters (cm). By using additional colored paper, Suzy make the square's side 1cm larger. How much did the area of this colored paper increase than it was at first?
Question (KO): 수지는 한 변의 길이가 6센티미터(㎝)인 정사각형 모양의 색종이를 갖고 있습니다. 이 색종이의 네 변에 각각 1센티미터(㎝)인 색종이를 더 붙였습니다. 이 색종이의 넓이는 처음보다 얼마나 더 늘어났습니까?

Answer: 13

Solution (Python):
var_a = 6
var_b = 1
var_c = var_a + var_b
var_d = 2
var_e = var_c ** var_d
var_f = 6
var_g = 2
var_h = var_f ** var_g
var_i = var_e - var_h
print(int(var_i))
Category: Geometry

Question (EN): How many meters (m) are the circumference of a rectangle with 480 centimeters (cm) wide and 360 centimeters (cm) long, rounding up to the tenth digit?
Question (KO): 가로가 480센티미터(㎝), 세로가 360센티미터(㎝)인 직사각형의 둘레는 몇 미터(m)인지 소수점 둘째 자리에서 반올림하여 나타내시오.

Answer: 16.8

Solution (Python):
var_a = 480
var_b = 100
var_c = var_a / var_b
var_d = 360
var_e = 100
var_f = var_d / var_e
var_g = var_c + var_f
var_h = 2
var_i = var_g * var_h
var_j = 2
var_k = round(float(var_i)+1e-10, var_j)
print('{:.2f}'.format(round(var_k+1e-10,2)))
Category: Arithmetic calculation

Question (EN): The water bottle A contains 3.8 liters (L) of water, and the water bottle B contains 8.4 liters (L) more water than A. When the water bottle C contains 3720 milliliters (㎖) more than 1/10 of the water in B, how many liters (L) of water are in the water bottle C?
Question (KO): (가) 물병에는 3.8리터(L)의 물이 들어있고, (나) 물병에는 (가) 물병보다 8.4리터(L)의 물이 더 들어있습니다. (다) 물병에는 (나) 물병의 물의 1/10보다 3720밀리리터(㎖) 더 들어있을 때 (다) 물병에 들어있는 물은 몇 리터(L)입니까?

Answer: 4.94

Solution (Python):
var_a = 3.8
var_b = 8.4
var_c = var_a + var_b
var_d = 0.1
var_e = var_c * var_d
var_f = 3720
var_g = 1000
var_h = var_f / var_g
var_i = var_e + var_h
print('{:.2f}'.format(round(var_i+1e-10,2)))
Category: Geometry

Question (EN): Suzy made a large cube with a volume of 1000 cubic centimeters (cm3) from 8 small cubes. How many centimeters (cm) is the length of one edge of the small cube?
Question (KO): 수지는 작은 정육면체 8개로 부피가 1000세제곱센티미터(㎤)인 큰 정육면체를 만들었습니다. 작은 정육면체의 한 모서리의 길이는 몇 센티미터(㎝)입니까?

Answer: 5

Solution (Python):
var_a = 1000
var_b = 8
var_c = var_a / var_b
var_d = 0.3333333333333333
var_e = var_c ** var_d
print(int(eval('{:.2f}'.format(round(var_e+1e-10,2)))))
Category: Geometry

Question (EN): What is the sum of the number of edges of a triangle, and a rectangle?
Question (KO): 삼각형과 사각형의 변의 수의 합은 몇 개입니까?

Answer: 7

Solution (Python):
var_a = 3
var_b = 4
var_c = var_a + var_b
print(int(var_c))
Category: Arithmetic calculation

Question (EN): There is colored paper that is 25 centimeters (cm) wide and 30 centimeters (cm) long. When 15 pieces of this colored paper are attached horizontally to the wall, overlapping each other by 0.5 cm, find the horizontal length in meters (m) of the glued colored paper.
Question (KO): 가로의 길이가 25센티미터(㎝) 새로가 30센티미터(㎝)인 색종이가 있다. 이 색종이 15장을 벽에 가로로 붙이되 0.5센티미터(㎝)씩 겹쳐서 붙힌다. 붙힌 색종이의 가로 길이는 몇 미터(m) 인지 구하시오.

Answer: 3.68

Solution (Python):
var_a = 25
var_b = 25
var_c = 0.5
var_d = var_b - var_c
var_e = 15
var_f = 1
var_g = var_e - var_f
var_h = var_d * var_g
var_i = var_a + var_h
var_j = 100
var_k = var_i / var_j
print('{:.2f}'.format(round(var_k+1e-10,2)))
Category: Comparison

Question (EN): Choose the largest number among 5, 8, 4, 3, and 2.
Question (KO): 5, 8, 4, 3, 2 중에서 가장 큰 수를 고르세요.

Answer: 8

Solution (Python):
var_a = 5
var_b = 8
var_c = 4
var_d = 3
var_e = 2
list_a= []
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_f = 1
list_b=list_a.copy()
list_b.sort()
var_g = list_b[-var_f]
print(int(var_g))
Category: Comparison

Question (EN): Jisoo poured 1 liter (L) and 400 milliliters (㎖) of apple juice and 2800 milliliters (㎖) of orange juice into a bucket, and the bucket was filled up. Which one has more capacity, a bucket or a basin with 4 liters (L) and 100 milliliters (㎖)?
Question (KO): 지수는 1리터(L) 400밀리리터(㎖) 들이의 사과주스와 2800밀리리터(㎖)의 오렌지주스를 대야에 모두 부었더니 대야가 가득 찼습니다. 들이가 4리터(L) 100밀리리터(㎖)인 물통과 대야 중에서 어느 쪽의 들이가 더 많습니까?

Answer: basin

Solution (Python):
var_a = 'basin'
var_b = 'bucket'
list_a= []
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_c = 4
var_d = 1000
var_e = var_c * var_d
var_f = 100
var_g = var_e + var_f
var_h = 2800
var_i = 1
var_j = 1000
var_k = var_i * var_j
var_l = 400
var_m = var_k + var_l
var_n = var_h + var_m
list_b= []
if "/" in str(var_n):
    var_n = eval(str(var_n))
list_b.append(var_n)
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_b.append(var_g)
list_b.reverse()
var_o = 1
list_c=list_b.copy()
list_c.sort()
var_p = list_c[-var_o]
var_q = list_b.index(var_p)+1
var_r = list_a[var_q-1]
print(var_r)
Category: Correspondence

Question (EN): Jimin wants to multiply 34 by some number. If the result of subtracting a number from 20 by mistake is 60, find the correct calculation.
Question (KO): 지민이는 34에 어떤 수를 곱하려고 합니다. 실수로 20에 어떤 수를 뺐을 때의 결과가 60이라면 바르게 계산한 결과를 구하세요.

Answer: -1360

Solution (Python):
var_a = 34
var_b = 20
var_c = 60
var_d = var_b - var_c
var_e = var_a * var_d
print(int(var_e))
Category: Arithmetic calculation

Question (EN): There are numbers 25, 17, 21, 34, and 32. What is the difference between the largest number and the smallest number?
Question (KO): 숫자 25, 17, 21, 34, 32 가 있습니다. 가장 큰 수와 가장 작은 수의 차는 얼마입니까?

Answer: 17

Solution (Python):
var_a = 25
var_b = 17
var_c = 21
var_d = 34
var_e = 32
list_a= []
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_f = 1
list_b=list_a.copy()
list_b.sort()
var_g = list_b[-var_f]
var_h = 1
list_c=list_a.copy()
list_c.sort()
var_i = list_c[var_h-1]
var_j = var_g - var_i
print(int(var_j))
Category: Geometry

Question (EN): There is a square-shaped window with a side of 90 centimeters (cm). When decorating the edge of this window with stickers at 3 centimeters (cm) intervals, find how many stickers are needed in total.
Question (KO): 한 변의 길이가 90센티미터(㎝)인 정사각형 모양의 창문이 있습니다. 이 창문의 가장자리에 3센티미터(㎝) 간격으로 스티커를 붙여 꾸밀 때, 스티커는 모두 몇 장이 필요한지 구하시오.

Answer: 120

Solution (Python):
var_a = 90
var_b = 4
var_c = var_a * var_b
var_d = 3
var_e = var_c // var_d
print(int(var_e))
Category: Arithmetic calculation

Question (EN): Minyoung drank 10 liters (L) of milk, and Yuna drank 2/3 liters (L). Find how many times the amount of milk that Minyoung drank was the amount of milk that Yuna drank.
Question (KO): 민영이가 우유를 10리터(L) 마시고, 유나는 2/3리터(L) 마셨습니다. 민영이가 마신 우유의 양은 유나가 마신 우유의 양의 몇 배인지 구하시오.

Answer: 15

Solution (Python):
var_a = 10
var_b = 0.6666666666666666
var_c = var_a / var_b
print(int(var_c))