Submission #15415318


Source Code Expand

Copy
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b, c, k = map(int, read().split())

while a >= b and k >= 1:
    b *= 2
    k -= 1
c *= pow(2, k)

print('Yes' if a < b < c else 'No')

Submission Info

Submission Time
Task B - Magic 2
User maspy
Language Python (3.8.2)
Score 200
Code Size 268 Byte
Status
Exec Time 27 ms
Memory 9176 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
All 200 / 200 in01.txt, in02.txt, in03.txt, in04.txt, in05.txt, in06.txt, in07.txt, in08.txt, in09.txt, in10.txt, in11.txt, in12.txt, in13.txt, in14.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
in01.txt 25 ms 9108 KB
in02.txt 23 ms 9108 KB
in03.txt 23 ms 8876 KB
in04.txt 19 ms 9172 KB
in05.txt 23 ms 8992 KB
in06.txt 21 ms 9108 KB
in07.txt 22 ms 9048 KB
in08.txt 23 ms 9052 KB
in09.txt 19 ms 8988 KB
in10.txt 22 ms 9040 KB
in11.txt 20 ms 9116 KB
in12.txt 21 ms 8888 KB
in13.txt 19 ms 9176 KB
in14.txt 20 ms 9052 KB
sample_01.txt 27 ms 8880 KB
sample_02.txt 18 ms 9172 KB