Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!nuzba.szn.dk!pnx.dk!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:134': 0.05; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'url:)': 0.13; 'languages.': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:Regular': 0.16; 'subject:expression': 0.16; 'wrote:': 0.17; 'trying': 0.21; 'subject:problem': 0.22; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; '[1]': 0.27; 'header:X -Complaints-To:1': 0.28; 'run': 0.28; 'thus,': 0.29; "i'm": 0.29; 'seconds': 0.30; 'problem': 0.33; 'to:addr:python-list': 0.33; 'know.': 0.33; 'pm,': 0.35; 'received:org': 0.36; 'but': 0.36; 'enough': 0.36; 'correctly': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'most': 0.61; 'solve': 0.62; 'limit': 0.65; 'remember,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Serhiy Storchaka Subject: Re: Regular expression problem Date: Mon, 11 Mar 2013 20:30:36 +0200 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 134.249.22.12 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1363026661 news.xs4all.nl 6886 [2001:888:2000:d::a6]:35597 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:41085 On 11.03.13 04:06, Terry Reedy wrote: > On 3/10/2013 1:42 PM, mukesh tiwari wrote: >> Hello all >> I am trying to solve this problem[1] >> [1] http://www.spoj.com/problems/MAIN12C/ > > As I remember, and as it still appears, this site severely penalizes > Python solvers by using the same time limit for all languages. Thus, a > 'slow' python program may work correctly but the site will not let you > know. I'm sure the time limits are enough to solve most (if not all) of problems. Actually all submitted solutions on Python for this problem run from 0.47 to 0.61 seconds (http://www.spoj.com/ranks/MAIN12C/).