Problem hidden
DVD3 - Smallest number
Given three non-zero numbers, find the smallest number, which consists of these numbers and dividable by 3.
Input
Three numbers
Output
Required number
Example
Input: 2 4 7 Output: 24
Added by: | rkocharyan |
Date: | 2018-03-30 |
Time limit: | 0.100s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |