Pages

Bangladeshi Blog

Friday, January 14, 2011

378. Size Contest

code:
tc = int(raw_input()) 

total = 0 
while tc: 
    tc -= 1 
    inp = int(raw_input()) 

    if inp > 0: 
        total += inp 

print total

# end of source code
Be Pythonic

No comments:

Post a Comment