Finite or not?
983A1700· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
26 12 104 3 10
Output
FiniteInfinite
Sample 2of 2
Input
41 1 29 36 24 12 33 5 4
Output
FiniteFiniteFiniteInfinite
58%
983A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)