Date: 2012-12-08 09:11:38
I think the test data is a little weak. For example when N equals to 1053, the output should be 1530 which can be divided by 17. My program got accepted, but the output is -1 for this test case. So I suggest you to make some more stronger test cases for this problem.
| 22.10.12 - The problems from the Southern Subregional Programming Contest 2012 added to the problemset archive (542 - 553). |
22.10.12 - After the start of the contest the statements in PDF will be available by the link.
23.10.11 - The problems from the Southern Subregional Programming Contest 2011 added to the problemset archive (530 - 541).