Submission #2556058
Source Code Expand
package main import ( "fmt" ) func main() { var a, b, m, n int fmt.Scan(&n) for i := 0; i < n; i++ { fmt.Scan(&a) m |= a } for m & 1 == 0 { b++ m >>= 1 } fmt.Println(b) }
Submission Info
Submission Time | |
---|---|
Task | ABC081B - Shift only |
User | cia_rana |
Language | Go (1.6) |
Score | 200 |
Code Size | 212 Byte |
Status | AC |
Exec Time | 3 ms |
Memory | 512 KB |
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 | 1 ms | 512 KB |
2.txt | AC | 1 ms | 512 KB |
3.txt | AC | 2 ms | 512 KB |
4.txt | AC | 2 ms | 512 KB |
5.txt | AC | 2 ms | 512 KB |
6.txt | AC | 3 ms | 512 KB |
7.txt | AC | 2 ms | 512 KB |
sample1.txt | AC | 1 ms | 512 KB |
sample2.txt | AC | 1 ms | 512 KB |
sample3.txt | AC | 1 ms | 512 KB |