Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: The input and output is as wanted, but why error? Date: Tue, 3 Dec 2013 16:03:31 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 20 Message-ID: References: <387f5b5f-faf1-4715-8d49-e366be53fd00@googlegroups.com> NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1386086611 354 166.84.1.3 (3 Dec 2013 16:03:31 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 3 Dec 2013 16:03:31 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:60943 In <387f5b5f-faf1-4715-8d49-e366be53fd00@googlegroups.com> geezle86@gmail.com writes: > I am trying to solve this problem: > http://codeforces.com/problemset/problem/71/A > The input and output is as wanted, but my answer keep rejected, here is > my source code http://txt.do/1smv > Please, I need help. You'll have to explain more about your problem. What, exactly, is wrong? If, as you say, the input and output is correct, then why do you say there is a problem? -- John Gordon Imagine what it must be like for a real medical doctor to gordon@panix.com watch 'House', or a real serial killer to watch 'Dexter'.