1. What is outputted when this program is run?

a = 1: b = 2: c = 3: d = 4: e = 4: f = 6

if (d / b) < (f / a) then d = d / b

a = f ↑ b / c ↑ (d / b)

if (a <= f) && (b > e) then a = f else b = e

if abs(c - f) != int(f / c) then c = f / c else f = f / c

if (a = = b) | | (c = = d) then a = a + b

c = c + d

output (b * c) * (f + d) / a / 2 * d - c + e ↑ (b - 2 * d)

From Intermediate Contest 1 2017-2018

2.

From Junior Contest 2 2016-2017

5

1

5

1

5 (a=16,b=4,c=4,d=2,e=4,f=6)

1(is pythagorean theorem)

5 (I think we did this in class)

1

5

1