Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input())
- max_value = 0
- output = ''
- for i in range(num):
- snow = int(input())
- time = int(input())
- quality = int(input())
- value = (snow // time) ** quality
- if value > max_value:
- max_value = value
- output = f'{snow} : {time} = {value} ({quality})'
- print(output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement