11830.cpp, C++ Solution of problem: UVa 11830 - Contract Revision. In this post we will see how we can solve this challenge in C++ for UVa Online Judge.

Problem Description

For years, all contracts of the Association of Contracts for Modernization (ACM) were typed using an old typewriter machine.

Recently Mr. Miranda, one of the accountants of the ACM, realized that the machine had a failure in one, and only one, numerical digit. More specifically, the flawed digit, when typed, is not printed on the sheet, as if the corresponding key was not pressed. He realized tha

...

You can find the full details of the problem Contract Revision at UVa Online Judge

Solution: Please check the 11830.cpp snippet for the solution.

Solution originally posted at: Github by @SITZ