Set symmetric difference

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

Read two sets of words, then write out their symmetric difference (the set of words that appears in just one of the two input sets). The output must be in alphabetical order.

Options

exec is denied

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

Sample input:_

ja sp gpp ds tgr v x a zgy
zgy ue tqx iog w ugq v sp ds tgr e

Sample output:

a e gpp iog ja tqx ue ugq w x

Sample input:_

m kgp w hqa o ozt r mbl t ex lx e b j c onj na fy x cg ic u ut vgt vk n v mfo a pdd ixf rk bg cb cog yb
bg yw lx h ws c nli ayw lr zl ixf onj q cg nae mp v mfo cog ozt f x a ta o pdd qn yb cb kgp s

Sample output:

ayw b e ex f fy h hqa ic j lr m mbl mp n na nae nli q qn r rk s t ta u ut vgt vk w ws yw zl

Sample input:_

r wxh v gma d jtm s my k yn avp mmo ti o ce ns kyv j nrh lu p wev vvc b qm grf e rqg dg px xn ecm qri ma ty a m xtz t git oka igg f quo iud aq fnt nq
p y yab i yjy e zg pe xn nrh avp vvc gac qri cwh nq oka yn mmo byd yi jtm ns f ug gyo unz pj coc xpi bm dg u aq quo t eev s h vz dw ot loc wt qcw fnt xin zb bpk k px wev lvc kyv grf nrt ij

Sample output:

a b bm bpk byd ce coc cwh d dw ecm eev gac git gma gyo h i igg ij iud j loc lu lvc m ma my nrt o ot pe pj qcw qm r rqg ti ty u ug unz v vz wt wxh xin xpi xtz y yab yi yjy zb zg

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1ksk440.08882008/03/21 04:02:370B / 18B / 24B
2leonid440.09162008/03/21 10:54:400B / 18B / 24B
3flagitious440.13772008/03/21 23:33:320B / 18B / 24B
4eban450.07752008/03/20 22:40:300B / 18B / 25B
5shinh460.18582008/03/20 17:17:220B / 18B / 26B
6tabasa510.10252008/03/21 11:34:040B / 32B / 17B
7leonid410.04882008/06/16 13:24:520B / ?B / ?B
8kaki480.08782008/06/01 14:19:400B / 20B / 27B

Perl _

RankUserSizeTimeDateStatistics
1Mithran420.06642008/03/26 12:07:540B / 15B / 23B
2Terje K420.13452008/03/26 22:47:530B / 15B / 23B
3ais523580.05982008/03/22 05:29:030B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1hirose640.13912008/03/21 11:37:140B / 37B / 26B
2kt3k640.14652008/03/21 15:38:450B / 37B / 26B
3Defenestrator640.35382008/03/25 06:17:480B / 40B / 23B
4dplusplus640.09632008/03/28 21:10:120B / 40B / 23B
5potato650.10142016/07/30 04:00:170B / ?B / ?B
6Vim Lover710.09332016/07/30 04:02:500B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1pooq900.39542008/10/11 00:15:010B / 47B / 39B
2daira1030.37452008/04/23 13:49:091B / 55B / 43B

Scheme _

RankUserSizeTimeDateStatistics
1kaki890.09472012/12/05 08:14:040B / 56B / 28B
2murky-satyr900.19422008/06/24 00:04:450B / 60B / 26B
3pla1230.34752008/06/14 15:16:420B / 86B / 31B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1340.81132008/03/23 15:47:550B / 78B / 50B
2kozima930.30742008/11/08 00:02:110B / 60B / 30B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr842.67472008/03/23 23:48:390B / 64B / 14B
2pooq852.67812008/03/22 20:09:520B / 65B / 12B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr1030.11332008/04/03 02:20:050B / 49B / 52B
2nn860.10022012/05/24 23:28:180B / 43B / 42B
3murky-satyr990.05862008/04/28 22:13:010B / 48B / 48B

Lua _

RankUserSizeTimeDateStatistics
1pooq1690.04872008/03/23 17:29:280B / 106B / 41B
2murky-satyr1310.04902008/06/02 11:29:480B / 77B / 40B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1180.70842008/03/22 17:24:550B / 79B / 33B
2murky-satyr1080.53722008/04/11 03:33:550B / 73B / 30B

Erlang _

RankUserSizeTimeDateStatistics
151b1480.94912008/03/23 01:07:350B / 73B / 69B
251b1371.33602008/07/07 23:25:480B / 68B / 64B

J _

RankUserSizeTimeDateStatistics
1pooq420.18272008/03/22 02:53:500B / 11B / 30B
2I., S.300.10862011/01/30 10:39:270B / 7B / 23B
3pooq320.11432011/01/30 07:33:150B / 12B / 20B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer80.43282021/04/11 00:00:166B / 1B / 1B

C _

RankUserSizeTimeDateStatistics
151b1120.03572008/03/21 02:09:120B / 55B / 56B

D _

RankUserSizeTimeDateStatistics
151b1380.09682008/03/22 12:56:370B / 88B / 45B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1230.12572008/04/30 21:46:000B / 62B / 53B
2m.ukai1670.12902008/04/25 21:21:140B / 94B / 66B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa680.11532008/03/29 19:38:140B / ?B / ?B
2Defenestrator710.04012008/03/28 12:29:350B / 49B / 20B

REBOL _

RankUserSizeTimeDateStatistics
1pooq540.44672009/02/14 16:55:110B / 43B / 6B
2teebee540.07082012/07/21 06:00:150B / 43B / 6B

AWK _

RankUserSizeTimeDateStatistics
1nn1090.05172008/10/05 01:35:560B / 47B / 61B

sed _

RankUserSizeTimeDateStatistics
1%202091.16722016/07/30 10:37:300B / 59B / 136B

jq _

RankUserSizeTimeDateStatistics
1eban550.03962014/12/21 10:46:030B / 15B / 37B

Bash _

RankUserSizeTimeDateStatistics
1eban280.16342008/03/20 23:43:440B / 17B / 7B
2ais523350.12642008/03/22 05:33:540B / ?B / ?B
3tails250.03242021/04/14 15:48:400B / 18B / 5B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)670.53932008/03/21 18:28:4127B / 22B / 17B
2yshl1070.54362008/03/21 18:28:180B / 77B / 22B

R _

RankUserSizeTimeDateStatistics
1pooq503.78652008/04/12 15:47:240B / 30B / 20B

GolfScript _

RankUserSizeTimeDateStatistics
1irori150.34312008/03/20 14:25:510B / 1B / 12B
2flagitious150.34162008/03/21 01:01:590B / 1B / 12B
3kt3k160.30432008/03/20 15:32:520B / 3B / 12B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs70.25062016/01/02 10:27:392B / 1B / 4B
2whio70.26262017/05/05 22:53:502B / 1B / 4B

Nibbles _

RankUserSizeTimeDateStatistics
1tails70.04802022/01/26 23:01:524B / 2B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1zzo38100.07692010/03/20 18:17:110B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman (clock)210.03662014/11/19 17:41:280B / 14B / 7B
2clock280.03662012/09/24 16:38:310B / 15B / 13B

Vim _

RankUserSizeTimeDateStatistics
1nn540.14662010/10/14 22:38:112B / 22B / 26B

goruby _

RankUserSizeTimeDateStatistics
1leonid320.42202008/03/21 10:55:100B / 12B / 16B
2eban330.34112008/03/20 23:41:570B / 12B / 17B
3shinh360.32002008/03/20 18:00:030B / 11B / 22B
4tabasa370.32492008/03/21 11:37:370B / 18B / 17B
5leonid300.18962008/12/15 21:09:200B / 11B / 16B

Groovy _

RankUserSizeTimeDateStatistics
1nn689.91822008/04/02 17:43:180B / 41B / 25B
2murky-satyr689.75462008/04/03 01:21:100B / 40B / 26B
3hoozie779.37762008/03/26 18:39:200B / 47B / 28B
4teebee(nn)644.50472012/03/10 10:21:490B / 38B / 25B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs710000
2Nibblestails710000
3JellyErik the Outgolfer88750
4FlogScriptzzo38107000
5GolfScriptirori154666
6Burlesquemroman (clock)213333
7Bashtails252800
8gorubyleonid302333
9JI., S.302333
10Rubyleonid411707
11PerlMithran421666
12Rpooq501400
13REBOLpooq541296
14Vimnn541296
15jqeban551272
16Pythonhirose641093
17Groovyteebee(nn)641093
18Postscriptyshl(bin)671044
19Haskellnotogawa681029
20Iomurky-satyr84833
21JavaScriptnn86813
22Schemekaki89786
23PHPpooq90777
24Common LISPkozima93752
25Smalltalkmurky-satyr108648
26AWKnn109642
27C51b112625
28OCamlksk123569
29Luamurky-satyr131534
30Erlang51b137510
31D51b138507
32sed%20209334

return to the top page