cf/mirror

Expression Correction

CF
2052E1900· candidate master3s1024 MB⌨ stdin/stdout

Examples

Sample 1of 5
Input
2+2=4
Output
Correct
Sample 2of 5
Input
123456789+9876543210=111111110+11-1
Output
123456789+987654321=1111111100+11-1
Sample 3of 5
Input
10+9=10
Output
Impossible
Sample 4of 5
Input
24=55-13
Output
42=55-13
Sample 5of 5
Input
1000000000-10=9999999999
Output
Impossible
2052E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)