ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1353. Milliard Vasya's Function

Why WA1?
Posted by Savchenkov (NNSTU) 13 Jul 2012 14:14
My program gives the following answers:
1  -> 10
2  -> 45
3  -> 165
10 -> 43749
40 -> 45433800
80 -> 9
81 -> 1

Why do I get WA1?

Edited by author 13.07.2012 14:17
Re: Why WA1?
Posted by augustine.hippo 6 May 2013 19:17
Your solution is correct for every case. But whats your answer for 0? I think it should be 1. But its not testing case 0.

Edited by author 06.05.2013 19:19

Edited by author 06.05.2013 19:19

Edited by author 06.05.2013 19:21