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
electrocute: 2016-05-15 08:10:58

146 in c++

wh1t3_r0s3: 2016-03-30 21:19:14

200 in C++

sarthak_8: 2016-03-26 21:32:40

113 in c++. What does it mean? How many points do I get (If any :P).

s6j4_10: 2016-03-21 20:38:39

114 with C++

Rezaul H Sagar: 2016-02-18 20:08:54

366 in C++

Priyank Patel: 2016-01-20 19:52:21

NZEC error in C! :(

Last edit: 2016-01-20 19:52:48
dwij28: 2016-01-16 04:58:02

Top score for this question is 6 in Perl. Even less than #include in C /.. C++ which is 8 bytes.. LOL on this..

prateekmathur1991: 2016-01-12 13:49:46

321 in Java...

Last edit: 2016-01-12 13:53:48
dokz: 2016-01-05 10:07:57

205 in C# :)

Vale: 2015-11-04 07:14:43

116 in C++ :)


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