Ответ:
Код на питоне.
Объяснение:
with open("Input.txt") as f:
numbers = list(map(int, f.read().split()))
with open("Output.txt", 'w') as f:
f.write(str(((numbers[0] + numbers[1]) % numbers[4]) * ((numbers[2] - numbers[3]) % numbers[4])))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Код на питоне.
Объяснение:
with open("Input.txt") as f:
numbers = list(map(int, f.read().split()))
with open("Output.txt", 'w') as f:
f.write(str(((numbers[0] + numbers[1]) % numbers[4]) * ((numbers[2] - numbers[3]) % numbers[4])))