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
poojan: 2016-11-16 17:54:38

618 in c++... :)

ogabeezle: 2016-10-25 10:14:05

alright, using c or c++ only get 126

vengatesh15: 2016-10-23 11:51:26

172 in c++ not bad..

opcleaver0: 2016-10-23 06:31:40

WOW, I got 187
Too high :)

waffl3: 2016-10-21 14:56:05

162 in c++, good?

berenil97: 2016-10-19 15:01:50

107 with C++

satyabrat35: 2016-10-12 21:31:39

116 in c++

aditya_rev: 2016-10-09 20:11:22

126, is it good?._.

frpartho: 2016-10-07 22:20:08

112 in c

uvijaysimha: 2016-08-25 17:42:18

i got 131 what does this even mean.


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