GPF in Binary
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Make a program that, given an integer of reasonable size, outputs the greatest prime factor of that integer, in binary, but with all 0s replaced with underscores (_) and all 1s replaced with minus signs (-).
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
15
Sample output:
-_-
Sample input:_
7
Sample output:
---
Sample input:_
115
Sample output:
-_---
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 27 | 0.0125 | 2014/08/09 06:01:23 | 0B / 8B / 17B |
2 | whio | 28 | 0.0396 | 2014/08/09 04:50:16 | 0B / 6B / 22B |
3 | JWinslow23 | 98 | 0.0414 | 2014/08/04 11:16:08 | 0B / 45B / 52B |
4 | BioFALSE | 41 | 0.0331 | 2014/08/30 08:04:29 | 0B / 13B / 23B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 42 | 0.0323 | 2014/08/08 09:19:48 | 0B / 20B / 22B |
2 | Hendrik | 42 | 0.0429 | 2014/08/08 10:42:23 | 0B / 20B / 22B |
3 | twobit | 42 | 0.0378 | 2014/08/08 23:54:32 | 0B / 20B / 22B |
4 | AndoDaan | 56 | 0.0322 | 2014/08/05 23:49:16 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 53 | 0.0527 | 2021/05/09 17:13:16 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 44 | 0.0332 | 2014/08/08 09:46:30 | 0B / 21B / 22B |
2 | pooq | 52 | 0.0325 | 2014/08/05 20:36:13 | 0B / 20B / 25B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | nooodl | 22 | 0.1034 | 2014/08/04 20:10:57 | 0B / ?B / ?B |
2 | pooq | 22 | 0.0693 | 2014/08/04 22:07:51 | 0B / 6B / 16B |
3 | medialuna | 27 | 0.0930 | 2014/08/25 15:21:10 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 33 | 0.0005 | 2014/08/10 18:39:38 | 1B / 11B / 21B |
2 | nanayaT | 160 | 0.0317 | 2014/08/09 21:16:17 | 0B / 82B / 77B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | cojna | 47 | 0.0328 | 2014/08/10 02:13:10 | 0B / 23B / 21B |
2 | henkma | 47 | 0.0368 | 2014/08/10 12:24:32 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | llhuii | 31 | 0.0342 | 2014/08/07 01:55:58 | 0B / 5B / 26B |
2 | teebee | 31 | 0.0316 | 2014/08/07 05:50:02 | 0B / 13B / 18B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 31 | 0.0349 | 2018/01/24 18:05:41 | 0B / 7B / 24B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 37 | 0.4300 | 2014/08/04 22:35:23 | 0B / 11B / 26B |
2 | teebee | 37 | 0.4192 | 2014/08/08 09:05:17 | 0B / 11B / 26B |
3 | vlo | 37 | 0.3948 | 2014/08/15 05:38:19 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | whio | 17 | 0.0569 | 2014/08/06 00:26:37 | 0B / 3B / 14B |
2 | twobit | 17 | 0.0533 | 2014/08/08 23:59:26 | 0B / 3B / 14B |
3 | nooodl | 19 | 0.0485 | 2014/08/04 20:03:13 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | whio | 10 | 0.2842 | 2017/07/11 03:58:06 | 4B / 3B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hendrik | 23 | 0.0507 | 2014/08/04 11:50:23 | 0B / 10B / 13B |
2 | teebee | 23 | 0.0343 | 2014/08/05 05:15:52 | 0B / 12B / 11B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | gs2 | whio | 10 | 10000 |
2 | GolfScript | whio | 17 | 5882 |
3 | K | teebee | 21 | 4761 |
4 | J | nooodl | 22 | 4545 |
5 | Burlesque | Hendrik | 23 | 4347 |
6 | Ruby | mitchs (luck) | 25 | 4000 |
7 | Perl | teebee | 27 | 3703 |
8 | Python | hallvabo | 29 | 3448 |
9 | AWK | llhuii | 31 | 3225 |
10 | xgawk | llhuii | 31 | 3225 |
11 | jq | pooq | 31 | 3225 |
12 | C | teebee | 33 | 3030 |
13 | R | pooq | 37 | 2702 |
14 | JavaScript | _nderscore(luck) | 40 | 2500 |
15 | Befunge | AndoDaan | 42 | 2380 |
16 | Lua | teebee | 42 | 2380 |
17 | BASIC | teebee | 44 | 2272 |
18 | Haskell | cojna | 47 | 2127 |
19 | PARI/GP | pooq | 53 | 1886 |
20 | Brainfuck | AndoDaan | 223 | 448 |
return to the top page