cf/mirror

Adjacent Digit Sums

CF
2067A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
1 2
77 77
997 999
999 1
1000 1
1 11
18 1
Output
Yes
No
No
Yes
No
No
Yes
2067A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)