FM radio dial
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Draw an American FM radio band dial (88-108Mhz) and plot the given frequency on it. If the frequency is out of range, plot all x's.
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
88
88.5
92
97.6
100
100.5
102
104.5
107
107.9
Sample output:
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
|* |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
Sample input:_
50
100
101
110
Sample output:
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
| * |
|88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108|
|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 100 | 0.0592 | 2012/03/29 12:45:42 | 0B / 31B / 63B |
2 | @tttttanaka | 135 | 0.0754 | 2012/03/25 06:33:24 | 0B / 48B / 80B |
3 | @tttttanaka | 128 | 0.0476 | 2012/04/06 21:34:49 | 0B / 46B / 75B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tybalt89 | 98 | 0.0610 | 2012/03/28 11:01:39 | 0B / ?B / ?B |
2 | nfouille | 122 | 0.0511 | 2012/03/19 21:13:46 | 1B / ?B / ?B |
3 | smkt | 232 | 0.0315 | 2012/03/16 03:58:47 | 0B / 103B / 127B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | hallvabo | 130 | 0.0609 | 2012/03/16 07:42:46 | 0B / 66B / 62B |
2 | macik | 146 | 0.0691 | 2012/03/27 23:26:43 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 152 | 0.1230 | 2012/03/29 01:38:57 | 2B / 78B / 69B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 143 | 0.0850 | 2012/03/29 23:32:13 | 0B / 65B / 73B |
2 | hakusui | 148 | 0.0650 | 2012/03/29 22:50:23 | 0B / 65B / 81B |
3 | clock(hakusui) | 139 | 0.0921 | 2012/03/29 23:55:22 | 0B / 63B / 71B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | smkt | 227 | 0.0336 | 2012/03/16 02:10:23 | 1B / 109B / 110B |
2 | smkt | 223 | 0.0281 | 2016/04/18 17:12:16 | 0B / 106B / 110B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 156 | 0.0307 | 2012/03/29 00:28:35 | 0B / 45B / 84B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 92 | 0.1744 | 2012/03/29 11:29:30 | 0B / 22B / 68B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 87 | 0.2698 | 2012/03/23 04:05:29 | 7B / 48B / 27B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Vim | clock | 87 | 10000 |
2 | J | I., S. | 89 | 9775 |
3 | GolfScript | clock | 92 | 9456 |
4 | Perl | tybalt89 | 98 | 8877 |
5 | Ruby | clock | 100 | 8700 |
6 | Python | hallvabo | 130 | 6692 |
7 | JavaScript | clock(hakusui) | 139 | 6258 |
8 | PHP | clock | 152 | 5723 |
9 | sed | clock | 156 | 5576 |
10 | C | smkt | 223 | 3901 |
return to the top page