Yet Another Real Number Problem
2035D1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
3101 2 3 4 5 6 7 8 9 10111 6 9 4 7 4 4 10 3 2 34527792568 502211460 850237282 374773208
Output
1 3 8 13 46 59 126 149 1174 13111 7 22 26 70 74 150 1303 1306 1308 1568527792568 83665723 399119771 773892979
58%
2035D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)