Submission #1865322


Source Code Expand

N = int(input())

if N == 1:
    print(0)
else:
    ans = 2
    while ans * 2 <= N:
        ans *= 2
    print(ans)

Submission Info

Submission Time
Task B - Break Number
User Gobi
Language PyPy3 (2.4.0)
Score 0
Code Size 125 Byte
Status WA
Exec Time 175 ms
Memory 38384 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
AC × 3
WA × 1
AC × 16
WA × 1
Set Name Test Cases
Sample example0, example1, example2, example3
All example0, example1, example2, example3, handmade0, handmade1, handmade2, rand0, rand1, rand2, rand3, rand4, rand5, rand6, rand7, rand8, rand9
Case Name Status Exec Time Memory
example0 AC 166 ms 38256 KB
example1 AC 161 ms 38256 KB
example2 WA 168 ms 38256 KB
example3 AC 175 ms 38256 KB
handmade0 AC 161 ms 38256 KB
handmade1 AC 169 ms 38256 KB
handmade2 AC 161 ms 38256 KB
rand0 AC 161 ms 38256 KB
rand1 AC 162 ms 38256 KB
rand2 AC 160 ms 38256 KB
rand3 AC 162 ms 38256 KB
rand4 AC 159 ms 38256 KB
rand5 AC 163 ms 38256 KB
rand6 AC 163 ms 38256 KB
rand7 AC 164 ms 38384 KB
rand8 AC 161 ms 38256 KB
rand9 AC 161 ms 38256 KB