6N plus minus one
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
When five or more prime numbers are given, denote the prime number by the formula of '6N+1' or '6N-1'(N is a larger integer than 0).
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
179
271
263
349
139
149
467
107
193
43
449
367
137
499
337
97
83
557
389
113
127
19
419
359
197
439
79
167
233
281
29
563
431
211
313
103
347
509
17
173
401
331
397
89
229
53
227
23
191
251
61
283
241
443
463
491
181
409
487
71
383
479
457
47
379
199
541
223
569
11
433
307
239
59
37
131
13
293
163
317
41
67
461
157
523
277
257
109
73
311
353
151
521
421
101
31
503
373
547
269
Sample output:
179 = 6 * 30 - 1
271 = 6 * 45 + 1
263 = 6 * 44 - 1
349 = 6 * 58 + 1
139 = 6 * 23 + 1
149 = 6 * 25 - 1
467 = 6 * 78 - 1
107 = 6 * 18 - 1
193 = 6 * 32 + 1
43 = 6 * 7 + 1
449 = 6 * 75 - 1
367 = 6 * 61 + 1
137 = 6 * 23 - 1
499 = 6 * 83 + 1
337 = 6 * 56 + 1
97 = 6 * 16 + 1
83 = 6 * 14 - 1
557 = 6 * 93 - 1
389 = 6 * 65 - 1
113 = 6 * 19 - 1
127 = 6 * 21 + 1
19 = 6 * 3 + 1
419 = 6 * 70 - 1
359 = 6 * 60 - 1
197 = 6 * 33 - 1
439 = 6 * 73 + 1
79 = 6 * 13 + 1
167 = 6 * 28 - 1
233 = 6 * 39 - 1
281 = 6 * 47 - 1
29 = 6 * 5 - 1
563 = 6 * 94 - 1
431 = 6 * 72 - 1
211 = 6 * 35 + 1
313 = 6 * 52 + 1
103 = 6 * 17 + 1
347 = 6 * 58 - 1
509 = 6 * 85 - 1
17 = 6 * 3 - 1
173 = 6 * 29 - 1
401 = 6 * 67 - 1
331 = 6 * 55 + 1
397 = 6 * 66 + 1
89 = 6 * 15 - 1
229 = 6 * 38 + 1
53 = 6 * 9 - 1
227 = 6 * 38 - 1
23 = 6 * 4 - 1
191 = 6 * 32 - 1
251 = 6 * 42 - 1
61 = 6 * 10 + 1
283 = 6 * 47 + 1
241 = 6 * 40 + 1
443 = 6 * 74 - 1
463 = 6 * 77 + 1
491 = 6 * 82 - 1
181 = 6 * 30 + 1
409 = 6 * 68 + 1
487 = 6 * 81 + 1
71 = 6 * 12 - 1
383 = 6 * 64 - 1
479 = 6 * 80 - 1
457 = 6 * 76 + 1
47 = 6 * 8 - 1
379 = 6 * 63 + 1
199 = 6 * 33 + 1
541 = 6 * 90 + 1
223 = 6 * 37 + 1
569 = 6 * 95 - 1
11 = 6 * 2 - 1
433 = 6 * 72 + 1
307 = 6 * 51 + 1
239 = 6 * 40 - 1
59 = 6 * 10 - 1
37 = 6 * 6 + 1
131 = 6 * 22 - 1
13 = 6 * 2 + 1
293 = 6 * 49 - 1
163 = 6 * 27 + 1
317 = 6 * 53 - 1
41 = 6 * 7 - 1
67 = 6 * 11 + 1
461 = 6 * 77 - 1
157 = 6 * 26 + 1
523 = 6 * 87 + 1
277 = 6 * 46 + 1
257 = 6 * 43 - 1
109 = 6 * 18 + 1
73 = 6 * 12 + 1
311 = 6 * 52 - 1
353 = 6 * 59 - 1
151 = 6 * 25 + 1
521 = 6 * 87 - 1
421 = 6 * 70 + 1
101 = 6 * 17 - 1
31 = 6 * 5 + 1
503 = 6 * 84 - 1
373 = 6 * 62 + 1
547 = 6 * 91 + 1
269 = 6 * 45 - 1
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 56 | 0.0114 | 2012/11/10 12:15:35 | 0B / 20B / 27B |
2 | kaki | 60 | 0.0182 | 2012/11/23 01:38:14 | 0B / 18B / 34B |
3 | jamesaxl | 120 | 0.0122 | 2012/11/10 10:47:15 | 5B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 47 | 0.0115 | 2012/11/11 02:18:51 | 0B / 19B / 21B |
2 | Hem | 48 | 0.0111 | 2012/11/21 19:12:59 | 0B / 18B / 23B |
3 | macik | 48 | 0.0119 | 2012/11/23 22:51:57 | 0B / ?B / ?B |
4 | Terje K | 50 | 0.0233 | 2012/11/15 18:58:05 | 0B / 11B / 32B |
5 | ninjalj | 60 | 0.0110 | 2012/11/14 01:42:50 | 0B / 22B / 30B |
6 | smkt | 65 | 0.0110 | 2012/11/10 05:17:08 | 0B / 24B / 34B |
7 | pla | 67 | 0.0110 | 2012/11/15 01:41:05 | 0B / 23B / 34B |
8 | jamesaxl | 102 | 0.0111 | 2012/11/21 03:55:08 | 0B / ?B / ?B |
9 | jamesaxl | 47 | 0.0112 | 2012/11/25 01:17:11 | 0B / ?B / ?B |
10 | jonathan camacho | 95 | 0.0111 | 2014/09/04 14:29:53 | 0B / 33B / 55B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | hallvabo | 51 | 0.0188 | 2012/11/10 04:15:37 | 0B / 20B / 29B |
2 | clock | 51 | 0.0395 | 2012/11/15 02:51:08 | 0B / 24B / 24B |
3 | teebee | 51 | 0.0175 | 2012/11/22 06:27:09 | 0B / 24B / 24B |
4 | Hendrik | 52 | 0.0314 | 2012/11/10 18:07:44 | 0B / 24B / 23B |
5 | recursive | 52 | 0.0193 | 2012/11/16 01:15:01 | 0B / 24B / 23B |
6 | jamesaxl | 99 | 0.0402 | 2012/11/23 08:28:20 | 0B / ?B / ?B |
7 | xnor | 51 | 0.0318 | 2015/06/14 13:59:10 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 68 | 0.0378 | 2012/11/11 09:18:28 | 0B / 31B / 30B |
2 | teebee | 68 | 0.0351 | 2012/11/11 09:27:32 | 0B / 31B / 30B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kaki | 72 | 0.0663 | 2012/11/15 00:27:22 | 0B / 29B / 27B |
2 | kaki | 68 | 0.0410 | 2013/03/25 05:07:40 | 0B / 25B / 31B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 65 | 1.0311 | 2012/11/11 12:11:07 | 0B / 22B / 31B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 100 | 0.1018 | 2012/11/12 00:45:08 | 0B / 58B / 30B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 56 | 0.0167 | 2012/11/10 11:35:57 | 0B / 25B / 28B |
2 | 0mg | 56 | 0.0306 | 2012/11/10 11:54:53 | 0B / 25B / 28B |
3 | nn | 56 | 0.0210 | 2012/11/10 16:17:21 | 0B / 25B / 28B |
4 | Hendrik | 56 | 0.0202 | 2012/11/10 18:24:48 | 0B / 25B / 28B |
5 | teebee | 56 | 0.0180 | 2012/11/10 22:02:32 | 0B / 25B / 28B |
6 | o-cn | 56 | 0.0207 | 2012/11/14 10:05:37 | 0B / 25B / 28B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | desty | 106 | 0.0111 | 2013/02/23 23:11:15 | 0B / 49B / 44B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 87 | 0.0260 | 2012/11/15 14:17:23 | 0B / 49B / 22B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 83 | 0.0194 | 2012/11/11 01:43:49 | 0B / 35B / 41B |
2 | clock | 83 | 0.0159 | 2012/11/13 18:47:51 | 0B / 35B / 41B |
3 | pooq | 86 | 0.0344 | 2012/11/11 08:06:37 | 0B / 36B / 43B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 80 | 0.0053 | 2012/11/15 14:06:14 | 0B / 38B / 32B |
2 | teebee | 80 | 0.0189 | 2012/11/22 06:10:31 | 0B / 38B / 33B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 56 | 0.0093 | 2012/11/11 01:25:26 | 0B / 30B / 14B |
2 | clock | 56 | 0.0068 | 2012/11/11 09:32:11 | 0B / 30B / 14B |
3 | pooq | 76 | 0.0408 | 2012/11/10 23:30:42 | 0B / 33B / 30B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 87 | 0.8137 | 2012/11/13 19:22:13 | 0B / 37B / 41B |
2 | teebee | 87 | 0.9168 | 2012/11/22 17:13:58 | 0B / 38B / 41B |
3 | pooq | 89 | 1.0323 | 2012/11/11 22:15:07 | 0B / 32B / 50B |
4 | teebee(clock) | 82 | 1.0179 | 2012/11/24 03:58:41 | 0B / 32B / 41B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 74 | 0.0402 | 2012/11/13 19:29:05 | 0B / 36B / 27B |
2 | teebee | 74 | 0.0501 | 2012/11/17 23:43:54 | 0B / 36B / 27B |
3 | pooq | 80 | 0.0544 | 2012/11/11 13:34:21 | 0B / 39B / 32B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | *yuko* | 71 | 0.0251 | 2012/11/10 20:59:57 | 0B / 32B / 32B |
2 | teebee | 71 | 0.0101 | 2012/11/10 21:51:06 | 0B / 32B / 32B |
3 | pooq | 71 | 0.0117 | 2012/11/11 05:30:26 | 0B / 32B / 30B |
4 | clock | 71 | 0.0133 | 2012/11/11 07:59:57 | 0B / 32B / 30B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | 0mg | 76 | 0.0110 | 2012/11/10 12:18:41 | 0B / 34B / 36B |
2 | clock | 76 | 0.0106 | 2012/11/10 12:22:48 | 0B / 34B / 36B |
3 | nn | 76 | 0.0107 | 2012/11/10 16:10:15 | 0B / 34B / 36B |
4 | teebee | 76 | 0.0140 | 2012/11/10 18:21:32 | 0B / 34B / 36B |
5 | inaniwa | 76 | 0.0107 | 2012/11/10 21:45:31 | 0B / 34B / 36B |
6 | nu | 76 | 0.0108 | 2012/11/11 03:18:34 | 0B / 36B / 34B |
7 | Hendrik | 76 | 0.0111 | 2012/11/11 03:50:40 | 0B / 36B / 34B |
8 | ush | 76 | 0.0123 | 2012/11/12 09:09:38 | 0B / 37B / 34B |
9 | eiyuu | 76 | 0.0113 | 2012/11/18 16:21:14 | 0B / 34B / 36B |
10 | amat | 79 | 0.0109 | 2012/11/10 22:20:42 | 0B / 36B / 37B |
11 | fill | 84 | 0.0139 | 2012/11/17 20:15:07 | 0B / 40B / 38B |
12 | smkt | 87 | 0.0108 | 2012/11/11 09:24:46 | 0B / 43B / 38B |
13 | TokusiN | 76 | 0.0106 | 2012/12/04 01:31:41 | 0B / 34B / 36B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | smkt | 140 | 0.0045 | 2012/11/14 09:21:37 | 0B / 79B / 50B |
2 | Kipa00 | 158 | 0.0105 | 2012/11/12 15:59:50 | 3B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | macik | 106 | 0.0109 | 2012/11/23 23:42:21 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | henkma | 87 | 0.0128 | 2012/11/17 06:06:12 | 0B / 43B / 35B |
2 | notogawa | 87 | 0.0256 | 2012/11/17 21:43:20 | 0B / 44B / 35B |
3 | tttaki | 112 | 0.0230 | 2012/11/11 21:56:16 | 0B / 60B / 36B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 145 | 0.1403 | 2012/11/22 03:27:22 | 0B / 88B / 45B |
2 | clock | 145 | 0.1411 | 2012/11/22 03:43:15 | 0B / 87B / 46B |
3 | unbaba | 152 | 0.0971 | 2012/11/23 00:35:52 | 0B / 85B / 53B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 95 | 0.0043 | 2012/11/17 21:48:47 | 0B / 55B / 30B |
2 | uru | 95 | 0.0048 | 2012/11/17 22:22:21 | 0B / 55B / 30B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | *yuko* | 69 | 0.0083 | 2012/11/10 22:01:45 | 0B / 39B / 25B |
2 | clock | 69 | 0.0080 | 2012/11/11 11:02:37 | 0B / 39B / 25B |
3 | teebee | 69 | 0.0062 | 2012/11/22 03:40:39 | 0B / 40B / 24B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hendrik | 138 | 0.0628 | 2012/11/10 19:57:08 | 0B / 80B / 46B |
2 | teebee | 138 | 0.0621 | 2012/11/10 21:14:07 | 0B / 80B / 46B |
3 | clock | 138 | 0.0639 | 2012/11/11 11:09:40 | 0B / 80B / 47B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 93 | 0.0590 | 2012/11/20 17:46:35 | 0B / 45B / 38B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 74 | 0.1399 | 2012/11/11 03:07:21 | 0B / 37B / 27B |
2 | pooq | 74 | 0.1335 | 2012/11/11 07:21:20 | 0B / 37B / 27B |
3 | clock | 74 | 0.1233 | 2012/11/11 09:44:13 | 0B / 37B / 27B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 70 | 0.0306 | 2012/11/22 06:13:22 | 0B / 40B / 18B |
2 | teebee | 70 | 0.0304 | 2012/11/22 06:23:36 | 0B / 39B / 22B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 43 | 0.0109 | 2012/11/10 04:27:22 | 0B / 19B / 19B |
2 | clock | 43 | 0.0131 | 2012/11/10 04:46:31 | 0B / 18B / 19B |
3 | nn | 43 | 0.0107 | 2012/11/10 16:00:53 | 0B / 12B / 26B |
4 | Hendrik | 43 | 0.0105 | 2012/11/11 05:32:26 | 0B / 18B / 19B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 177 | 0.2678 | 2015/06/15 01:19:23 | 0B / 64B / 89B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 39 | 0.0093 | 2012/11/20 18:56:47 | 0B / 24B / 10B |
2 | tails | 55 | 0.0289 | 2017/11/17 11:58:59 | 0B / 19B / 26B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 55 | 0.0308 | 2017/11/17 11:59:18 | 0B / 19B / 26B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 109 | 0.2407 | 2012/11/20 18:53:02 | 0B / 42B / 55B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 76 | 0.0164 | 2012/11/10 22:18:41 | 0B / 35B / 31B |
2 | clock | 76 | 0.0056 | 2012/11/11 10:05:43 | 0B / 35B / 31B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | *yuko* | 40 | 0.0197 | 2012/11/10 19:31:05 | 0B / 25B / 11B |
2 | clock | 40 | 0.0106 | 2012/11/11 10:22:27 | 0B / 25B / 11B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hendrik | 43 | 0.0133 | 2012/11/11 05:34:00 | 0B / 18B / 19B |
2 | teebee | 43 | 0.0148 | 2012/11/11 05:35:11 | 0B / 19B / 19B |
3 | clock | 43 | 0.0169 | 2012/11/11 08:04:49 | 0B / 18B / 19B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 69 | 0.1656 | 2012/11/11 09:52:47 | 0B / 27B / 37B |
2 | pooq | 69 | 0.1682 | 2012/11/11 10:45:42 | 0B / 29B / 38B |
3 | teebee | 69 | 0.1586 | 2012/11/17 22:40:49 | 0B / 27B / 37B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 91 | 0.0353 | 2012/11/11 08:41:51 | 0B / 48B / 33B |
2 | clock | 91 | 0.0262 | 2012/11/11 09:14:56 | 0B / 48B / 33B |
3 | teebee | 91 | 0.0318 | 2012/11/11 09:17:47 | 0B / 48B / 33B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | %20 | 182 | 0.0198 | 2015/06/15 01:41:18 | 0B / 0B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 33 | 0.0381 | 2015/06/15 00:36:45 | 0B / 7B / 23B |
2 | nooodl | 38 | 0.0406 | 2014/01/14 07:09:27 | 0B / ?B / ?B |
3 | rolf | 53 | 0.0274 | 2017/11/17 06:08:07 | 0B / 12B / 34B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 21 | 0.1027 | 2017/11/17 11:50:55 | 9B / 7B / 5B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 46 | 0.0487 | 2012/11/15 01:45:36 | 2B / 17B / 19B |
2 | pla | 50 | 0.0704 | 2012/11/15 01:16:19 | 3B / 19B / 20B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 72 | 1.1382 | 2012/11/11 02:02:05 | 0B / 43B / 21B |
2 | clock | 72 | 1.1280 | 2012/11/15 02:54:31 | 0B / 43B / 21B |
3 | nn | 73 | 1.0560 | 2012/11/10 16:47:05 | 0B / 43B / 21B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | gs2 | tails | 21 | 10000 |
2 | FlogScript | milieu | 28 | 7500 |
3 | GolfScript | tails | 33 | 6363 |
4 | Bash | clock | 39 | 5384 |
5 | dc | *yuko* | 40 | 5250 |
6 | AWK | teebee | 43 | 4883 |
7 | xgawk | Hendrik | 43 | 4883 |
8 | Vim | clock | 46 | 4565 |
9 | Perl | teebee | 47 | 4468 |
10 | Python | hallvabo | 51 | 4117 |
11 | K | teebee | 53 | 3962 |
12 | J | I., S. | 54 | 3888 |
13 | Bash (builtins) | tails | 55 | 3818 |
14 | JavaScript | clock | 56 | 3750 |
15 | Ruby | clock | 56 | 3750 |
16 | REXX | teebee | 56 | 3750 |
17 | Arc | clock | 65 | 3230 |
18 | PHP | clock | 68 | 3088 |
19 | Scheme | kaki | 68 | 3088 |
20 | Fortran | *yuko* | 69 | 3043 |
21 | Logo | teebee | 69 | 3043 |
22 | R | clock | 69 | 3043 |
23 | REBOL | clock | 70 | 3000 |
24 | BASIC | *yuko* | 71 | 2957 |
25 | Groovy | teebee | 72 | 2916 |
26 | Maxima | teebee | 74 | 2837 |
27 | Prolog | clock | 74 | 2837 |
28 | C | 0mg | 76 | 2763 |
29 | bc | teebee | 76 | 2763 |
30 | Icon | clock | 80 | 2625 |
31 | Asymptote | teebee | 81 | 2592 |
32 | Cyan | teebee(clock) | 82 | 2560 |
33 | Xtal | teebee | 83 | 2530 |
34 | Tcl | clock | 87 | 2413 |
35 | Haskell | henkma | 87 | 2413 |
36 | QCL | pooq | 91 | 2307 |
37 | OCaml | m.ukai | 91 | 2307 |
38 | Nemerle | clock | 93 | 2258 |
39 | Pascal | teebee | 95 | 2210 |
40 | Io | pooq | 100 | 2100 |
41 | D | macik | 106 | 1981 |
42 | Lua | desty | 106 | 1981 |
43 | wake | clock | 109 | 1926 |
44 | C# | Hendrik | 138 | 1521 |
45 | C++ | smkt | 140 | 1500 |
46 | Java | teebee | 145 | 1448 |
47 | sed | tails | 177 | 1186 |
48 | Whitespace | %20 | 182 | 1153 |
return to the top page