백준: 17874번 Piece of Cake! (Python3) Piece of Cake!
성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 512 MB 832 731 699 88.593% 문제 It is Greg’s birthday! To celebrate, his friend Sam invites Greg and two other friends for a small party.
Of course, every birthday party must have cake. Sam ordered a square cake.
She makes a single horizontal cut and a single vertical cut. In her excitement to eat cake, Sam forg.....