← Back to List
11368번: A Serious Reading Problem ↗
Solutions
Python 3
119 B | 119 chars
while True: C,W,L,P = map(int,input().split()) if C == W == L == P ==0: break print(((C**W)**L)**P)