|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|1 초 (언어별 추가 시간 없음)||512 MB (언어별 추가 메모리 없음)||39||33||24||82.759%|
There’s a pizza store which serves pizza in two sizes: either a pizza slice, with area A1 and price P1, or a circular pizza, with radius R1 and price P2.
You want to maximize the amount of pizza you get per dollar. Should you pick the pizza slice or the whole pizza?
The first line contains two space-separated integers A1 and P1.
Similarly, the second line contains two space-separated integers R1 and P2.
It is guaranteed that all values are positive integers at most 103. We furthermore guarantee that the two will not be worth the same amount of pizza per dollar.
If the better deal is the whole pizza, print ‘Whole pizza’ on a single line.
If it is a slice of pizza, print ‘Slice of pizza’ on a single line.
8 4 7 9
9 2 4 7
841 108 8 606
Slice of pizza