cf/mirror

Non-alternating Deck (easy version)

CF
1786A1800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
10
6
17
8
1000000
Output
5 5
1 5
10 7
3 5
500202 499798
1786A1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)