Submit | All submissions | Best solutions | Back to list |
BF_PRIME - Printing primes II |
Wersja polska | English version |
Your task is to print all primes up to 100 seperated 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.
No Input
Output
In a single line, all the primes up to 100.
Example
Output:
2,3,5,7,11,13,...,97
Author of this task is Robert Gerbicz.
Added by: | Piotr Kąkol |
Date: | 2010-08-07 |
Time limit: | 5s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | BF |
Resource: | High School Programming League 2009/2010 |
hide comments
2020-10-06 13:04:28 Jander
@Mitch - as much as I'd love to try to make mine shorter, other things take my focus these days (aka LEGO). I'll leave it to someone else to challenge you :-D |
|
2020-10-01 13:39:12 Mitch Schwartz
@Jander: Thanks! It only took 7 years. :) |
|
2020-10-01 11:25:39 Jander
@Mitch - Wow! I never expected my solution to be beaten. That's amazing work. |
|
2012-05-03 11:17:52 Piotr KÄ…kol
Yes, thank You. "Include new languages" unticked. Edit: It didn't change. I'll report it on main forum. Last edit: 2012-05-03 11:30:36 |
|
2012-04-23 19:07:23 Hallvard Norheim Bø
Piotr: I think allowing AWK and SED here is a bug :) |
|
2010-11-10 15:03:21 nise_nabe
I was wondering can I submit using Go. I'll solve using BF if I can. |
|
2010-11-10 14:54:13 Piotr KÄ…kol
I had to disqualify some not-brainf*ck submissions because somehow other languages were allowed. That's probably because of changes in SPOJ system. Sorry for inconvenience and giving You hope. |
|
2010-08-07 07:08:02 Piotr KÄ…kol
Here are the shortest programs (best - 188 chars). |