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
osvkatka: 2016-12-26 19:55:44

is higher score worse or better, cauze I am able to get smth between 63 and infinity?

alipasha: 2016-12-24 15:27:12

8300 in c++ :D

yashcoolhack: 2016-12-16 21:00:20

200 in c++

ddstha: 2016-12-13 13:01:13

104 in C ;)

darpanjbora: 2016-12-12 14:39:48

213 in java. :)

spartax: 2016-12-07 07:08:02

56 in Ruby

spartax: 2016-12-07 07:02:19

1567 in C

spartax: 2016-12-07 06:59:53

1278

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


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