cf/mirror

Collatz Conjecture

CF
2137A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
1 4
1 5
5 4
Output
1
10
21
2137A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)