cf/mirror

Palindrome, Twelve and Two Terms

CF
2234B800· newbie1.5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
1
10
310
12
1000000000
6111111111111111
Output
1 0
-1
262 48
0 12
889989988 110010012
111111111111111 6000000000000000
2234B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)