the same ArrayA as ArrayB

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

Check whether the two elements of an array are the same regardless of their order.

Options

exec is denied

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

Sample input:_

1,2,3==1,2,3
1,2,3==1,2,3,4
1,2,3==3,2,1
2,1,3==3,2,1
1,2,3==1,3,5
10,20,1234==20,1234,10

Sample output:

same
different
same
same
different
same

Sample input:_

a,b,c==e,f,g
a,b,c==b,c,a
e,e,e,e,e,e,e==e
e==e,e,e,e,e,e,e
a,a,b==a,b,b
I,can,fly==fly,can,I

Sample output:

different
same
different
different
different
same

Sample input:_

1,10,100,1000,10000==10,10000,100,1
9,16,1,4,25==25,16,9,1,4
100,81,64,49,36==36,49,64,81,100,121
cc,bb,dd,ee,aa==aa,bb,cc,dd,ee
This,is,a,pen,.==pen,big,.,My,is
Hot,post,mortems==post,mortems,Cold
Recent,endless,problems==problems,Recent,endless
This,is,a,golf,server,.==This,an,server,is,.,golf
You,can,enjoy,short,coding,.==You,can,enjoy,short,coding,.

Sample output:

different
same
different
same
different
different
same
different
same

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid470.03402012/06/19 04:12:530B / 30B / 16B
2teebee500.05972012/06/18 07:29:440B / 23B / 25B
3clock(cheat)540.04722012/06/19 00:03:180B / 32B / 20B
4clock560.05182012/06/16 17:43:360B / 29B / 24B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89440.04762012/06/17 23:27:440B / ?B / ?B
2teebee440.09932012/06/18 07:03:240B / 27B / 17B
3nfouille500.04102012/06/20 21:27:400B / ?B / ?B
4test1(cheat)520.04862012/06/17 23:14:040B / ?B / ?B
5shlomif540.05542012/06/17 23:47:340B / 30B / 21B
6test1600.17012012/06/19 01:58:550B / ?B / ?B
7a750.04232012/06/21 04:08:001B / ?B / ?B
8Hem800.06512012/06/14 19:41:320B / 39B / 37B
9BioFALSE780.03672013/01/06 01:09:140B / 32B / 45B
10jonathan camacho1300.03382014/09/03 12:05:460B / 71B / 59B

Python _

RankUserSizeTimeDateStatistics
1hallvabo600.14522012/06/21 09:42:440B / 44B / 15B
2twobit610.08212012/06/21 05:48:120B / 45B / 14B
3clock(cheat)660.08192012/06/14 23:10:430B / 40B / 24B
4Hendrik760.08422012/06/14 19:42:360B / 49B / 26B
5hallvabo (nocheat)760.07272012/06/21 05:36:310B / 49B / 26B
6naoina770.06882012/06/14 17:38:360B / 48B / 29B
7_850.07902012/06/14 15:36:270B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1030.16572012/06/16 01:56:080B / 71B / 29B
2kaki(teebee)640.15402012/06/30 00:05:320B / 37B / 27B

Io _

RankUserSizeTimeDateStatistics
1pooq990.23822012/11/12 23:01:170B / 74B / 22B

JavaScript _

RankUserSizeTimeDateStatistics
10mg660.06792012/06/14 20:13:120B / 41B / 24B
2clock660.08552012/06/14 20:36:100B / 38B / 28B

J _

RankUserSizeTimeDateStatistics
1I., S.590.14482012/06/15 07:15:160B / 24B / 35B
2I., S.530.07852012/11/27 06:11:290B / 28B / 23B

K _

RankUserSizeTimeDateStatistics
1twobit490.05112012/06/22 22:32:060B / 21B / 27B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa990.04602012/06/16 15:28:590B / 58B / 38B
2henkma990.06362012/06/17 02:42:080B / 58B / 38B

Java _

RankUserSizeTimeDateStatistics
1teebee1600.24742012/06/21 07:17:310B / 99B / 55B

Maxima _

RankUserSizeTimeDateStatistics
1pooq1041.12892012/06/18 20:50:540B / 64B / 39B

REBOL _

RankUserSizeTimeDateStatistics
1clock830.08132012/07/19 14:56:030B / 57B / 18B

AWK _

RankUserSizeTimeDateStatistics
1teebee390.03562012/06/18 09:08:230B / 18B / 21B
2yamaya440.05002012/06/17 14:10:060B / 22B / 22B

sed _

RankUserSizeTimeDateStatistics
1teebee350.03612012/06/18 09:13:030B / 19B / 15B
2nn390.04852012/06/16 19:44:310B / 24B / 14B
3clock390.04242012/06/18 00:13:080B / 25B / 13B

GolfScript _

RankUserSizeTimeDateStatistics
1clock330.08582012/06/16 18:34:280B / 16B / 17B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu310.15762012/06/14 22:52:070B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman (Hendrik)390.03772014/09/16 01:19:530B / 20B / 18B
2mroman450.03592014/09/03 16:02:460B / 20B / 24B
3Hendrik460.05712014/09/03 12:24:300B / 21B / 25B

Vim _

RankUserSizeTimeDateStatistics
1clock(cheat)480.16472012/06/20 23:52:581B / 27B / 18B
2nn680.04802012/06/17 02:59:500B / 28B / 36B
3clock680.06382012/06/17 11:59:093B / 32B / 31B
4clock(nn)630.08372012/06/22 07:03:210B / 25B / 34B
5nn660.09672012/06/22 03:29:230B / 29B / 33B

Groovy _

RankUserSizeTimeDateStatistics
1teebee673.26872012/06/18 07:09:000B / 44B / 22B
2clock(cheat)793.69962012/06/16 23:02:510B / 50B / 27B
3nn913.61122012/06/15 09:29:360B / 51B / 39B

Language Ranking_

RankLangUserSizeScore
1FlogScriptmilieu3110000
2GolfScriptclock339393
3sedteebee358857
4AWKteebee397948
5Burlesquemroman (Hendrik)397948
6Perltybalt89447045
7Rubyleonid476595
8Vimclock(cheat)486458
9Ktwobit496326
10JI., S.535849
11Pythonhallvabo605166
12Schemekaki(teebee)644843
13JavaScript0mg664696
14Groovyteebee674626
15REBOLclock833734
16Haskellnotogawa993131
17Iopooq993131
18Maximapooq1042980
19Javateebee1601937

return top