SIZECON - Size Contest

no tags 

Given the set of integers, find the sum of all positive integers in it. Solutions can be sent in any language supported by SPOJ except Whitespace.

Input

t – number of test cases [t < 1000]
On each of next t lines given a integer N [-1000 <= N <= 1000]

Output

One integer equals to sum of all positive integers.

Score

Score equals to size of source code of your program except symbols with ASCII code <= 32.

Example

Input:
4
5
-5
6
-1

Output:
11

hide comments
cout_karan: 2019-07-31 20:05:46

112 in C++

Last edit: 2019-07-31 20:40:10
necrofool: 2019-07-05 10:30:34

117 in c++!

krish3d2y: 2019-06-30 12:23:03

66 in python !! :)

qq1010903229: 2019-06-25 13:30:57

82 in C

lakiuz_907: 2019-06-25 10:45:37

python 90 :/

bhola_1234: 2019-06-24 17:35:57

709 using c++

snoofer: 2019-04-03 10:31:38

102 in one go yeahhh!!!

avasthiayush: 2019-01-07 16:34:49

112 using c:(

mohammadsaad: 2018-11-18 14:34:48

i got 132 using c++

ssv0726: 2018-10-06 18:33:30

77 what does it mean could anyone expain me plzzz?


Added by:Roman Sol
Date:2005-06-23
Time limit:2s
Source limit:10000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ERL JS-RHINO NODEJS PERL6 VB.NET WHITESPACE
Resource:ZCon & RSDN