Files
CodeTest/baekjoon/나머지/solution_5276023.py
2024-08-29 16:24:25 +09:00

4 lines
142 B
Python

str = input()
A,B,C = tuple([int(i) for i in str.split(" ")])
print("{}\n{}\n{}\n{}".format((A+B)%C,((A%C)+(B%C))%C,(A*B)%C,((A%C)*(B%C))%C))