Hello....
I am preparing for the contest by trying to correct the past subject. I 
encounter the problem "Submission for input A-small Rejected: Your output 
should start with 'Case # 1:'". The subject is:
  Qualification Round 2016
  Problem:
 A. Counting Sheep
the code I edited is in python...

<code>
N = int(input())
i=1
while i<=N :
    list = set()        
    j=1
    Val=input()
    if Val=='0':
        print("Case #{}: INSOMNIA".format(i))
    else:
        for e in Val:
            list.add(e)
        while len(list)<10:
            val=int(Val)
            val*=j
            val=str(val)
            for e in val:
                list.add(e)
            j+=1
        j-=1
        m=j*int(Val)
        print("Case #{}: {}".format(i, m))
    i+=1
<code/>

the code works very well but on the platform it does not pass. Your help will 
be welcome

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/f9e3b26f-dc5c-4517-911d-e794c4fdafc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to