Submission #45248794
Source Code Expand
N = int(input())
A = list(map(int, input().split()))
count = 0
while all(a % 2 == 0 for a in A):
A = [a/2 for a in A]
count += 1
print(count)
Submission Info
| Submission Time | |
|---|---|
| Task | ABC081B - Shift only |
| User | KoyanagiHitoshi |
| Language | Python (CPython 3.11.4) |
| Score | 200 |
| Code Size | 155 Byte |
| Status | AC |
| Exec Time | 10 ms |
| Memory | 8592 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample1.txt, sample2.txt, sample3.txt |
| All | sample1.txt, sample2.txt, sample3.txt, 1.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, sample1.txt, sample2.txt, sample3.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 1.txt | AC | 9 ms | 8548 KiB |
| 2.txt | AC | 8 ms | 8468 KiB |
| 3.txt | AC | 9 ms | 8572 KiB |
| 4.txt | AC | 9 ms | 8592 KiB |
| 5.txt | AC | 10 ms | 8564 KiB |
| 6.txt | AC | 10 ms | 8576 KiB |
| 7.txt | AC | 9 ms | 8428 KiB |
| sample1.txt | AC | 9 ms | 8424 KiB |
| sample2.txt | AC | 8 ms | 8444 KiB |
| sample3.txt | AC | 8 ms | 8592 KiB |