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 1108. Heritage

Why have I always got WA on #1 ? (python)
Posted by OIdiot 4 Jan 2015 18:25
N=input()
ans=2
print ans
for i in range(0,N):
    ans=(ans-1)*ans+1
    print ans

It returns correct answer on my PC,but gets WA when submitted.
Re: Why have I always got WA on #1 ? (python)
Posted by SButterfly [Samara SAU] 2 Apr 2015 22:14
Well, there is only one test in check system.
And it is:
18

I don't know why first test isn't "2".