HS09BF - Primes in Brainf##k
Your task is to print all primes up to 100 separated by a single comma. Please do not print anything else after the last prime.
Attention: You can use any programming language you want, as long as it is Brainf**k.
Input
Nothing.
Output
In a single line, all the primes up to 100.
Example
Input:
Output:
2,3,5,7,...,97
hide comments
Mitch Schwartz:
2012-10-17 21:14:57
Jander currently has top score of 166 over at http://www.spoj.pl/SHORTEN/ranks/BF_PRIME/ Last edit: 2012-10-13 07:30:52 |
|
(Tjandra Satria Gunawan)(曾毅昆):
2012-10-17 21:14:57
Yes, I agree with numerix.. Move it to challenge or change the scoring to binary (AC/WA).. |
|
numerix:
2012-10-17 21:14:57
Should be labeled as "challenge" or scoring should be changed. |
Added by: | Robert Gerbicz |
Date: | 2009-09-02 |
Time limit: | 1s |
Source limit: | 1024B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | BF |
Resource: | High School Programming League |