Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
74802 | RecluseLL | 寻找最低数 | C++ | Accepted | 100 | 0 MS | 192 KB | 191 | 2023-06-01 10:08:24 |
#include <cstdio> int main(void) { int n, ans = 1; while(~scanf("%d", &n) && n) { for(ans = 1; !(n & 1); ans <<= 1, n >>= 1); printf("%d\n", ans); } }