binary alnum symbol

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Determine which of the lines of input contain binary, which are alphanumeric-only, and which are symbolic-only. (It would be good to see some alphanumeric-only and symbolic-only entries for this!)

Lines which contain any binary characters (i.e. outside the range 32-126 ASCII) should give the output (bin).

Lines which contain only alphanumeric characters, and whitespace, should give the output (alnum).

Lines which contain no alphanumeric characters, but for which all the characters are within the range 32-126 ASCII, should give the output (sym).

Other lines should be marked normal (without parens).

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

abcõdef
abcdef
abc1092
abc+def
+,,>,$
oinausod
int main(void){return 0;}
$_.=<>
Determine which of the lines of input contain binary
, which are alphanumeric only,
and which are symbolic only
þÿĈth
<<<<>>>>
&
GOOO123

Sample output:

(bin)
(alnum)
(alnum)
normal
(sym)
(alnum)
normal
(sym)
(alnum)
normal
(alnum)
(bin)
(sym)
(sym)
(alnum)

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1ksk620.06992008/03/22 21:17:290B / 36B / 22B
2shinh(embed)620.03912008/04/05 02:29:200B / 36B / 22B
3leonid660.03962008/03/22 15:41:351B / 26B / 36B
4tabasakun660.03522008/03/23 09:58:250B / 34B / 30B
5shinh660.06992008/04/05 00:25:071B / 25B / 38B
6eban690.00722008/03/22 15:40:061B / 23B / 43B
7tabasa1830.03542008/03/22 11:02:049B / 96B / 66B
8kurimura610.05942008/04/10 01:22:200B / 36B / 22B

Perl _

RankUserSizeTimeDateStatistics
1shinh630.03972008/04/05 02:57:091B / 27B / 35B
2ais523960.00752008/03/22 05:59:427B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1ch3ka940.02142010/12/12 01:17:142B / 46B / 43B

PHP _

RankUserSizeTimeDateStatistics
1hoge740.00552009/11/23 04:15:150B / ?B / ?B
2daira960.13552008/04/23 13:27:140B / 38B / 54B

Scheme _

RankUserSizeTimeDateStatistics
1kaki780.04022012/12/05 07:31:580B / 48B / 27B
2murky-satyr870.03362008/07/05 12:16:3615B / 46B / 25B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima(embed)820.10982008/03/26 17:27:330B / 39B / 27B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr663.59002009/10/06 09:38:480B / 42B / 23B
2pooq723.43982009/10/06 01:32:250B / 41B / 16B

Io _

RankUserSizeTimeDateStatistics
151b720.73422008/03/28 14:44:190B / 49B / 19B
2murky-satyr720.83882008/03/28 21:50:220B / 51B / 17B
3poop810.78982008/03/22 20:58:250B / 59B / 18B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr720.03102008/03/28 01:28:210B / 40B / 32B
2REM780.01082008/03/26 13:24:110B / ?B / ?B

Lua _

RankUserSizeTimeDateStatistics
1poop940.02942008/03/23 05:59:260B / 56B / 35B
2murky-satyr910.00022008/06/03 09:34:0915B / 39B / 34B

Xtal _

RankUserSizeTimeDateStatistics
1pooq800.03632011/01/13 20:43:430B / 37B / 38B

Icon _

RankUserSizeTimeDateStatistics
1pooq940.01722012/04/01 23:17:180B / 61B / 29B

REXX _

RankUserSizeTimeDateStatistics
1pooq830.01802012/04/13 00:28:320B / 58B / 16B

Cyan _

RankUserSizeTimeDateStatistics
1pooq734.27962008/11/09 16:08:540B / 37B / 36B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr840.11462008/03/23 23:26:1515B / 37B / 30B
2murky-satyr800.16912008/07/03 07:29:2415B / 32B / 33B

Forth _

RankUserSizeTimeDateStatistics
151b1080.52812008/03/28 14:42:323B / 62B / 24B

BASIC _

RankUserSizeTimeDateStatistics
1poop950.00972008/03/22 12:03:000B / 36B / 51B
2*yuko*820.02732009/08/24 22:21:370B / 54B / 24B
3pooq900.02652008/09/30 15:24:190B / 34B / 48B

Erlang _

RankUserSizeTimeDateStatistics
151b1220.30252008/04/02 00:48:5415B / 51B / 50B

J _

RankUserSizeTimeDateStatistics
1poop620.09992008/03/22 16:21:270B / 35B / 26B
2pooq600.04922008/04/05 10:26:380B / 36B / 23B

K _

RankUserSizeTimeDateStatistics
1twobit530.01782012/03/20 06:46:540B / 30B / 23B
2pooq690.02572012/03/19 20:42:090B / 33B / 22B

C _

RankUserSizeTimeDateStatistics
151b(embed)720.06342008/03/23 01:34:434B / 36B / 30B
251b780.00932008/03/22 12:16:128B / 36B / 34B
351b(not embed)1220.02132008/03/23 17:00:322B / 64B / 54B

D _

RankUserSizeTimeDateStatistics
151b950.01092008/03/27 23:24:370B / 52B / 37B

OCaml _

RankUserSizeTimeDateStatistics
1pooq940.04702009/04/26 14:13:070B / 51B / 37B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa1500.02482008/03/22 09:07:510B / ?B / ?B

Pascal _

RankUserSizeTimeDateStatistics
1pooq950.02962009/01/21 02:00:530B / 52B / 37B

LMNtal _

RankUserSizeTimeDateStatistics
1pooq1270.34812011/03/28 14:42:520B / 78B / 35B

Maxima _

RankUserSizeTimeDateStatistics
1pooq860.20432009/08/09 08:29:230B / 45B / 37B

gnuplot _

RankUserSizeTimeDateStatistics
1pooq820.03312012/04/18 18:58:440B / 43B / 34B

Octave _

RankUserSizeTimeDateStatistics
1pooq730.24352011/10/23 05:43:450B / 42B / 31B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq850.10572011/12/19 06:35:180B / 43B / 37B

AWK _

RankUserSizeTimeDateStatistics
1eban590.02062008/03/22 15:30:331B / 18B / 40B
2nn560.02412008/06/21 20:50:130B / 33B / 20B

sed _

RankUserSizeTimeDateStatistics
1shinh470.06882008/04/05 03:04:521B / 23B / 20B
2eban490.00212008/03/22 15:23:071B / 21B / 24B
3clock420.01452012/01/01 05:54:361B / 23B / 15B

Bash _

RankUserSizeTimeDateStatistics
1eban600.01922008/03/22 13:54:2035B / 17B / 4B

wake _

RankUserSizeTimeDateStatistics
1murky-satyr760.00412010/07/27 04:33:070B / 39B / 32B
2eban770.00402010/07/26 14:26:590B / 39B / 32B
3pooq810.00402010/07/20 19:18:590B / 40B / 27B

bc _

RankUserSizeTimeDateStatistics
1pooq1120.00012010/02/13 13:33:100B / 70B / 26B

m4 _

RankUserSizeTimeDateStatistics
1pooq1040.00032011/03/28 12:13:030B / 66B / 24B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(embed)(bin)560.21122008/03/23 01:20:4920B / 24B / 12B
2yshl(embed)770.19852008/03/23 01:20:400B / 51B / 18B

R _

RankUserSizeTimeDateStatistics
1murky-satyr761.54962008/04/02 00:46:520B / 38B / 37B
2poop781.67852008/04/02 22:15:300B / 37B / 40B
351b811.70992008/04/04 09:51:570B / 43B / 33B
451b731.16952008/05/18 01:48:280B / 37B / 36B

Brainfuck _

RankUserSizeTimeDateStatistics
1shinh3550.00022008/04/05 04:00:410B / 0B / 355B
2REM24180.09152008/03/31 20:03:540B / ?B / ?B

FlogScript _

RankUserSizeTimeDateStatistics
1zzo38590.05382011/06/07 15:26:050B / 35B / 23B
2zzo38(embed)590.05502011/06/07 15:26:240B / 35B / 23B

Vim _

RankUserSizeTimeDateStatistics
1clock490.02672012/01/01 05:07:412B / 37B / 8B
2nn580.28532009/10/17 19:58:561B / 48B / 6B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr560.11772008/07/26 02:26:310B / 31B / 22B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr712.97002008/03/28 21:48:460B / 48B / 20B
2nn713.08922008/04/01 19:19:090B / 48B / 20B
3hoozie742.95892008/03/27 19:28:090B / 44B / 30B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr783.44192011/02/13 21:15:050B / 48B / 30B
2pooq863.48672011/02/10 17:06:080B / 55B / 31B

Logo _

RankUserSizeTimeDateStatistics
1teebee650.00032011/04/02 06:17:320B / 48B / 11B
2pooq660.00042011/03/21 21:11:450B / 48B / 12B

Language Ranking_

RankLangUserSizeScore
1sedclock4210000
2Vimclock498571
3Ktwobit537924
4Postscriptyshl(embed)(bin)567500
5AWKnn567500
6gorubymurky-satyr567500
7FlogScriptzzo38597118
8Basheban607000
9Jpooq607000
10Rubykurimura616885
11Perlshinh636666
12Logoteebee656461
13Arcmurky-satyr666363
14Groovymurky-satyr715915
15C51b(embed)725833
16JavaScriptmurky-satyr725833
17Io51b725833
18R51b735753
19Cyanpooq735753
20Octavepooq735753
21PHPhoge745675
22wakemurky-satyr765526
23Scalamurky-satyr785384
24Schemekaki785384
25Smalltalkmurky-satyr805250
26Xtalpooq805250
27Common LISPkozima(embed)825121
28BASIC*yuko*825121
29gnuplotpooq825121
30REXXpooq835060
31Asymptotepooq854941
32Maximapooq864883
33Luamurky-satyr914615
34OCamlpooq944468
35Pythonch3ka944468
36Iconpooq944468
37D51b954421
38Pascalpooq954421
39m4pooq1044038
40Forth51b1083888
41bcpooq1123750
42Erlang51b1223442
43LMNtalpooq1273307
44Haskellnotogawa1502800
45Brainfuckshinh3551183

return top