← Back to List

11109번: 괴짜 교수 ↗

Solutions

Python 3
237 B | 237 chars
for i in range(int(input())):
    d,n,s,p=list(map(int,input().split()))
    T = d + n*p
    s = s*n
    if T==s:
        print("does not matter")
    elif T > s:
        print("do not parallelize")
    else:
        print("parallelize")