2023 J1 - Deliv-e-droid
Easysimple math
1 Solution Available
Solution 1
PYTHON1# By Daniel Zhang, Pinetree Secondary
2
3import sys
4
5packages = int(input())
6collisions = int(input())
7
8points = 50 * packages
9points -= 10 * collisions
10if packages > collisions:
11 points += 500
12
13
14
15print(points)
16Test Cases
Select a test case to view input and output