cf/mirror

Sequence with Digits

CF
1355A1200· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
8
1 4
487 1
487 2
487 3
487 4
487 5
487 6
487 7
Output
42
487
519
528
544
564
588
628
1355A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)