SIZECON - Size Contest
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
Shubham.IIITM:
2012-07-17 09:26:02
i gt 75 what does it mean |
|
Asmageddon:
2011-10-26 17:06:20
My solution works with all test cases I prepared for it, but here it says it's wrong. I have tried with both a newspace appended to the end of string and without. Am I missing something? |
|
Weicheng Gao:
2011-10-14 02:14:29
the bigger your source codes, the worse your score. |
|
Ashwin Menon:
2011-10-11 03:29:43
@Grandmaster: Code is judged as a whole, not based on language. |
|
Ikhaduri:
2011-09-07 13:58:48
@sachin it means that you're solution has 91 symbols in it |
|
Lee Wei:
2011-08-13 00:24:56
SPOJ supports whitespace? didn't know that. |
|
shahbaz khan:
2011-08-01 14:14:50
i submitted the code it shows 91.what does it mean?plz tell me! |
|
Grandmaster:
2011-06-23 18:23:17
so a c++ code is judged against the best over all code or the best c++ code ??? Last edit: 2011-06-23 19:38:53 |
|
Anonymous:
2011-06-15 21:54:19
what does 87 means ? |
|
KPL:
2011-06-03 22:18:35
i have submitted the code it is showing 144 . what does its mean? plzz help me! |
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 |