Strings in Strings

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

On each line, is each string contained in the next?

Similar to http://golf.shinh.org/p.rb?String+in+String+in+String but with differing numbers of strings per line

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

vnz ivnzm baivnzmc
lu osxl kosxlu
lk xnkrs
br rwbox nnrwboxj
jik lajikc
opg zjxpk
kou akouk
olez iolezm ilolezwl
xmc gkxmcee vgkxmceewx
gn lorc

Sample output:

YES
NO
NO
NO
YES
NO
YES
NO
YES
NO

Sample input:_

zgw xzgwlj gxzgwljge uygxzgwljgef jiuygxzgwljgefrn nrjiuygxzgwljgefrnx
zdv hzdvww bhzdvwwf yubhzdvwwfr uyubhzdvwwfrf gtuyubhzdvwwfrfxh
cdxx qcdxxxm mcqcdxxxmf vbukqcdxxxmchf
gg mggoo umggoog rsmggoowxv prumggoogxvcs
qi cdqio ecdqiob nmecdqioba jnmecdqiobave
ab labm ulabmy equlabmyl nnequlabmpla qnnequlabmylamu
tzaq etzaqms qezrmhmsbr zqetzaqmsbru bzqetzaqmsbrub
ycq zlycqle ggzlycqlei yggzlycqleihh lffggzlycqleivgv exlfyggzlycqleihhvlp
hr jnhrwl xijnhrwlv vxijnhrwlvn
yke uyked truwzadfh ytruykedfhti lytruykedfhtit
gcna agcnaz aowgcnawzs taowgcnawzsoj
im zimvz izimvzx fzizimvzxb tfzizimvzxbni
wxib bqthanhi isbqthanhiq ojisbqthanhiqj
gkt acgkti daacgktipf exdaacgktipfup
rrh sqrrhu bmsqrrhug gsbmsqrrhugq dngsbmsqrrhugqq xdngsbmwhrrhbgqqd

Sample output:

YES
YES
NO
NO
YES
NO
NO
NO
YES
NO
NO
YES
NO
YES
NO

Sample input:_

tf igimg
ss issc eisscz kfeiawcze gkfeissczex ygkfeissczexj
tst gtsth zqgtsthk
zag whzagv edhzagko fedhzagkooe sfedhzagkooeu
opjj ropjjps zuropjjpsx fzuropjjpsxd dsfzuiopjjiqxdl
zzz wzzzkn mxwzzzkna
wt zisk
cav zcavgg czcavgga ygczcavggamv umygczcavggamvy
oa moazg iqmoazgba nwiqmoazgbad
jskc gggtiafa
bfc dbfcw
xll jxllpn yljxllpnd tayljxllpndk
sti ovstiu mderstint
oso aosoaa wraosoaapf xiwraosoaapfv yqxiwraosoaapfvtg bdyqxiwraosoaapfvtgb
mzvl hrlbavq nhrlbavqe dnhrlbavqeje
irbp akirbpzc aakirbpzcn traakhvvnzcniw
hvf yshvff tlyshvffwg itlyshvffwgt aitlyshvffwgty qaitlyshvffwgtyzl
bsh sbshr ugbshrl
wba yewbaip ladwbaxix lladwbaxixei glladwbaxixeil
ooui xgoouilm toxgoouilmn lytoxggcoglmnjn
ljq xmbfc ixljqclj kvixljqcljp dkvixljqcljpja idkvixljqcljpjat
zamb jhzambn ajhzambnmj uajhzambnmjxo ouajhzambnmjxoz
ghy lghyju
khi odjotvj yhodjotvjve
rvt trvto uugrvteb suugrvteba essuugrvtebamk pessuugrvtebamkib

Sample output:

NO
NO
YES
NO
NO
YES
NO
YES
YES
NO
YES
YES
NO
YES
NO
NO
YES
NO
NO
NO
NO
YES
YES
NO
NO

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat410.04992017/03/09 13:07:230B / 14B / 23B
2%20410.03712017/03/09 14:56:210B / 14B / 23B
3rotary-o410.03492017/03/09 22:15:510B / 14B / 23B
4teebee410.04432017/03/10 08:26:060B / 14B / 23B
5ludo410.04712017/03/18 19:35:400B / 14B / 23B
6mitchs410.03832017/03/23 00:32:150B / 14B / 24B
7kaki410.03872017/03/23 01:50:450B / 14B / 23B

Ruby2 _

RankUserSizeTimeDateStatistics
1Histocrat410.25572017/03/09 13:07:420B / 14B / 23B
2%20410.19372017/03/09 14:56:280B / 14B / 23B
3rotary-o410.18992017/03/09 22:16:050B / 14B / 23B
4teebee410.21702017/03/10 08:26:270B / 14B / 23B
5ludo410.19372017/03/18 19:35:520B / 14B / 23B
6mitchs410.28332017/03/23 00:32:240B / 14B / 24B
7kaki410.20472017/03/23 01:52:540B / 14B / 23B

Perl _

RankUserSizeTimeDateStatistics
1tails370.05192017/03/09 11:36:500B / 16B / 20B
2%20370.03292017/03/09 14:55:260B / 16B / 20B
3teebee370.04612017/03/10 08:22:480B / 16B / 20B
4ludo370.03482017/03/18 19:38:390B / 16B / 20B
5mitchs370.03972017/03/23 00:32:040B / 16B / 20B

Python _

RankUserSizeTimeDateStatistics
1hallvabo640.09092017/03/11 05:34:430B / 39B / 24B
2xnor640.08982017/03/21 07:16:410B / 39B / 23B
3xsot640.10212017/03/23 00:28:070B / 39B / 23B
4rolf660.09782017/03/09 19:09:470B / 37B / 27B
5dianne690.09782017/03/13 13:31:390B / 40B / 27B

PHP _

RankUserSizeTimeDateStatistics
1teebee730.06722017/03/10 08:57:1518B / 33B / 21B

Scheme _

RankUserSizeTimeDateStatistics
1teebee620.13862017/03/10 09:26:100B / 32B / 29B
2ludo620.18142017/03/22 23:50:020B / 32B / 29B
3kaki620.11142017/03/23 01:49:590B / 32B / 29B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea600.04202017/03/10 07:17:360B / 29B / 30B
2teebee600.04562017/03/10 08:28:060B / 29B / 30B
3ETHproductions600.05182017/03/21 03:17:190B / 29B / 30B

C _

RankUserSizeTimeDateStatistics
1kou1090.03172017/03/13 13:26:590B / 61B / 45B

Haskell _

RankUserSizeTimeDateStatistics
1henkma990.04012017/03/10 06:17:530B / 70B / 24B
2cojna990.03932017/03/10 19:33:360B / 70B / 24B
3dianne1010.03912017/03/10 06:53:250B / 67B / 27B
4nmh1210.03892017/03/09 08:45:550B / 81B / 31B

Java _

RankUserSizeTimeDateStatistics
1teebee1510.24652017/03/10 08:34:500B / 87B / 58B

AWK _

RankUserSizeTimeDateStatistics
1ludo420.03162017/03/23 01:52:230B / 20B / 22B
2teebee470.03372017/03/10 17:48:500B / 24B / 23B

sed _

RankUserSizeTimeDateStatistics
1%20390.03462017/03/09 14:50:390B / 12B / 21B
2tails390.03452017/03/09 19:43:330B / 12B / 21B
3mitchs390.03492017/03/11 12:15:590B / 12B / 21B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails860.09532017/03/13 20:44:320B / 29B / 39B

make _

RankUserSizeTimeDateStatistics
1tails (embed)1410.04502017/03/15 10:04:490B / 95B / 33B
2tails1770.04592017/03/15 15:41:540B / 90B / 70B

wake _

RankUserSizeTimeDateStatistics
1tails570.04762017/03/15 10:33:320B / 12B / 41B

xgawk _

RankUserSizeTimeDateStatistics
1ludo430.03322017/03/23 01:52:270B / 21B / 22B

R _

RankUserSizeTimeDateStatistics
1ludo1210.45522017/03/23 01:53:200B / 71B / 45B

gs2 _

RankUserSizeTimeDateStatistics
1whio190.23912017/03/09 02:35:056B / 10B / 3B
2tails190.30382017/03/09 19:30:576B / 10B / 3B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik300.28852017/03/09 02:44:060B / 18B / 11B
2teebee300.09822017/03/10 08:35:520B / 18B / 11B

Vim _

RankUserSizeTimeDateStatistics
1udioica410.07572017/03/11 03:02:314B / 26B / 7B
2FizzyTea420.03952017/03/10 20:48:070B / 15B / 24B
3FizzyTea(udioica)410.03752017/03/23 04:55:350B / 15B / 22B

Groovy _

RankUserSizeTimeDateStatistics
1teebee602.73112017/03/10 08:37:180B / 33B / 25B

Scala _

RankUserSizeTimeDateStatistics
1teebee785.29492017/03/10 08:31:560B / 43B / 34B
2rotary-o787.61212017/03/10 22:11:370B / 43B / 34B

Language Ranking_

RankLangUserSizeScore
1gs2whio1910000
2BurlesqueHendrik306333
3Perltails375135
4sed%20394871
5RubyHistocrat414634
6Ruby2Histocrat414634
7Vimudioica414634
8AWKludo424523
9xgawkludo434418
10waketails573333
11JavaScriptFizzyTea603166
12Groovyteebee603166
13Schemeteebee623064
14Pythonhallvabo642968
15PHPteebee732602
16Scalateebee782435
17Bash (builtins)tails862209
18Haskellhenkma991919
19Ckou1091743
20Rludo1211570
21maketails (embed)1411347
22Javateebee1511258

return top