ISomeone just won the lottery, and we owe them N coins! However, when we tried to print out an oversized check, we encountered a problem. The value of N, which is an integer, includes at least one digit that is a 4... and the 4 key on the keyboard of our oversized check printer is broken. Fortunately, we have a workaround: we will send our winner two checks for positive integer amounts A and B, such that neither A nor B contains any digit that is a 4, and A + B = N. Please help us find any pair of values A and B that satisfy these conditions.
-
Notifications
You must be signed in to change notification settings - Fork 0
ISomeone just won the lottery, and we owe them N coins! However, when we tried to print out an oversized check, we encountered a problem. The value of N, which is an integer, includes at least one digit that is a 4... and the 4 key on the keyboard of our oversized check printer is broken. Fortunately, we have a workaround: we will send our winne…
akshay190/akshayaj
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
ISomeone just won the lottery, and we owe them N coins! However, when we tried to print out an oversized check, we encountered a problem. The value of N, which is an integer, includes at least one digit that is a 4... and the 4 key on the keyboard of our oversized check printer is broken. Fortunately, we have a workaround: we will send our winne…
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published