String in String in String

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 if "string in string in string".

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

str string substring
at cate concatenate
same same same
xx xxx xxxx
a ab abc
a AB ABC
aa bb aabb
ab bc abc
abc bca cab
xxxx xxx xx

Sample output:

YES
YES
YES
YES
YES
NO
NO
NO
NO
NO

Sample input:_

345 2345 123456
$%^& #$%^&* @#$%^&*()_+
$%^& #$%^&* @#$^%&*()_+
jna ksjnaf eksjnafl
a;wel ifa;welj wifa;welkfj
go went gone
like liked liked
keep kept kept
angl anagol anarchygolf
o o oooooooooooooooooooooooooooooooooh!

Sample output:

YES
YES
NO
YES
NO
NO
YES
NO
NO
YES

Sample input:_

&U9G> I>R:I^<gH&U9G>< |\*BlXe17OI>R:I^<gH&U9G><%4\j
r4gey3% $rC{q_+J>Dye%3g4rmA<m,}bx3G bap#$rC{q_+J>Dye%3g4rmA<m,}bx3GB#.[lH#s
o>qvG]Y0 FJ<o>qvG]Y0xGxlgDJs\ v5FJ<o>qvG]Y0xGxlgDJs\Pxus
eR2]Sg X)kUw)E{?eR2]SgbzGpMG| x#%G{GzXwpR]E2bMgGU)eS?k|)1
u!u83#? JGcbA7c9vu!u83#?R8nqNae [Nu8R9J8v37!bcNcGquA#en?afV5I![
<Ml}p^+ X:Tk+}pM^<lK:6 %X:Tk+}pM^<lK:6yDdWy
;oeM3mF (e7B+?!m3;MeoFa8Md !(m!e;eMBM3?(F8m7+dao$SBBg&:EB@
Y$l4v ?|yc"_5,uY$l4v|<9ktkA "C4yAYk<u_l|$k|?5ct,v"9se,1d}l2au
yD_;{0 oyD_;{0l3@\ ^2!v"+x0l;_D{\@o3y9U
v6A wl6vA*[L5>\[ iK"fLzb]xwl6vA*[L5>\[4l2bp|?
R qtnoGCaRdBRqKR" mquRqtnoGCaRdBRqKR">7xheHmaq
M2roLBB"p l*i*ylM2roLBB"ps[{gI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j6Ms

Sample output:

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

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat410.03862017/02/08 06:51:230B / 14B / 23B
2mitchs410.03812017/02/08 11:43:200B / 14B / 24B
3xsot440.05472017/02/04 21:52:210B / 20B / 22B
4rotary-o440.04652017/02/05 16:41:030B / 20B / 20B
5kaki440.04232017/02/12 01:36:410B / 20B / 20B
6olf440.03642017/02/13 23:04:160B / 20B / 21B
7%20450.03552017/02/04 01:53:480B / 13B / 27B
8kotatsugame650.03592017/02/04 01:48:060B / 36B / 27B

Ruby2 _

RankUserSizeTimeDateStatistics
1Histocrat410.19222017/02/08 06:53:480B / 14B / 23B
2mitchs410.19382017/02/08 11:46:120B / 14B / 23B
3xsot440.19852017/02/04 21:52:280B / 20B / 22B
4rotary-o440.23472017/02/05 16:40:520B / 20B / 20B
5kaki440.20432017/02/12 01:41:200B / 20B / 20B
6%20450.24082017/02/04 01:54:000B / 13B / 27B
7letranger560.15472017/09/18 15:06:130B / 32B / 21B

Perl _

RankUserSizeTimeDateStatistics
1mitchs370.04542017/02/08 11:47:070B / 16B / 20B
2tails370.03292017/02/09 18:26:250B / 16B / 20B
3%20410.04382017/02/04 01:52:510B / 15B / 24B
4kimiyuki410.04342017/02/04 17:25:070B / 15B / 24B
5teebee410.03392017/02/05 00:16:220B / 15B / 24B
6Zn500.06422017/02/13 00:37:530B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1xsot640.11302017/02/04 17:21:090B / 41B / 18B
2rolf640.10172017/02/05 02:06:450B / 39B / 20B
3hallvabo640.10212017/02/05 06:05:330B / 39B / 21B
4dianne640.11102017/02/05 08:49:350B / 39B / 20B
5mitchs640.08562017/02/06 05:35:550B / 39B / 20B
6xnor640.09732017/02/06 08:49:220B / 39B / 20B
7lynn640.10022017/02/07 07:32:470B / 39B / 20B
8Erik the Golfer640.09452017/02/08 02:39:240B / 39B / 20B
9Hendrik640.10042017/02/08 04:56:290B / 41B / 18B
10vklonghml640.10482017/02/08 09:59:570B / ?B / ?B
11Da640.09722017/02/10 13:05:520B / ?B / ?B
12ludo640.10362017/02/17 21:57:150B / 39B / 20B
13%20700.08962017/02/04 14:14:060B / 40B / 25B
14ooo710.08812017/02/17 01:01:350B / 46B / 21B
15Divesh640.09582017/02/23 21:41:240B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1xsot620.24002017/02/04 17:26:380B / 38B / 19B
2mitchs620.21372017/02/06 23:43:340B / 38B / 19B
3Erik the Golfer620.24752017/02/08 02:42:470B / 36B / 21B
4Da620.19452017/02/10 13:15:240B / ?B / ?B
5ludo620.26122017/02/17 21:57:390B / 36B / 21B

PHP _

RankUserSizeTimeDateStatistics
1php_890.22982017/02/07 23:11:000B / 50B / 37B
2futaro2017910.06312017/04/10 00:14:380B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki660.16282017/02/12 01:39:150B / 31B / 33B
2kaki(Histocrat)620.13152017/02/26 01:04:330B / 32B / 29B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee640.06012017/02/05 05:27:130B / 28B / 34B
2FizzyTea640.07272017/02/07 06:57:010B / 28B / 34B

Lua _

RankUserSizeTimeDateStatistics
1ludo1080.03792017/02/17 23:47:300B / 61B / 40B

C _

RankUserSizeTimeDateStatistics
1llhuii(luck)760.03182017/02/12 21:09:033B / 37B / 35B
2tails870.03202017/02/06 12:08:380B / 45B / 42B
3llhuii880.03512017/02/12 00:34:110B / 46B / 42B
4%20910.02582017/02/04 02:27:390B / 47B / 44B
5kou910.03202017/02/10 13:04:090B / 50B / 41B
6kotatsugame940.03182017/02/04 02:18:270B / 49B / 45B
7samuimo1000.03522017/02/10 01:12:540B / 53B / 45B

Haskell _

RankUserSizeTimeDateStatistics
1henkma980.03412017/02/14 19:14:450B / 65B / 29B
2dianne990.03472017/02/13 09:20:510B / 65B / 30B
3lynn990.03542017/02/13 09:26:030B / 65B / 30B
4kaki990.04252017/02/17 23:03:220B / 64B / 29B
5_1190.03552017/02/15 10:51:010B / ?B / ?B

ObjC _

RankUserSizeTimeDateStatistics
1%20910.03202017/02/04 02:33:450B / 47B / 44B

Java _

RankUserSizeTimeDateStatistics
1teebee1510.23802017/02/05 05:24:240B / 87B / 57B
2rotary-o1510.28212017/02/05 16:58:590B / 87B / 57B

AWK _

RankUserSizeTimeDateStatistics
1teebee390.03442017/02/05 00:26:290B / 20B / 19B
2llhuii390.03612017/02/09 21:40:570B / 20B / 19B
3Hendrik390.03162017/02/10 04:48:000B / 20B / 19B
4ludo390.03432017/02/17 21:58:040B / 20B / 19B

sed _

RankUserSizeTimeDateStatistics
1%20330.03422017/02/04 01:55:490B / 9B / 21B
2kimiyuki330.03522017/02/04 17:27:290B / 9B / 21B
3tails330.03482017/02/04 17:58:040B / 9B / 21B
4teebee330.03522017/02/05 00:22:060B / 9B / 21B
5mitchs330.03802017/02/06 01:28:260B / 9B / 21B
6llhuii330.03932017/02/09 21:50:250B / 9B / 21B

Bash _

RankUserSizeTimeDateStatistics
1%20380.02412017/02/04 17:46:590B / 13B / 20B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails670.08842017/02/06 07:01:340B / 23B / 29B

Zsh _

RankUserSizeTimeDateStatistics
1%20380.03102017/02/04 17:47:040B / 13B / 20B

Fish _

RankUserSizeTimeDateStatistics
1%20380.11242017/02/04 17:47:090B / 13B / 20B

xgawk _

RankUserSizeTimeDateStatistics
1Hendrik390.03262017/02/10 05:06:150B / 20B / 19B
2teebee390.03242017/02/10 09:32:100B / 20B / 19B
3ludo390.03212017/02/17 21:58:170B / 20B / 19B

R _

RankUserSizeTimeDateStatistics
1ludo1180.51242017/02/17 23:46:120B / 74B / 41B

GolfScript _

RankUserSizeTimeDateStatistics
1tails300.08422017/02/04 19:11:300B / 9B / 20B

gs2 _

RankUserSizeTimeDateStatistics
1tails190.27882017/02/04 18:54:046B / 9B / 4B
2whio200.25232017/02/04 00:43:436B / 10B / 4B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik300.11172017/02/04 01:55:500B / 18B / 11B

goruby _

RankUserSizeTimeDateStatistics
1mitchs370.09052017/02/06 23:32:400B / 19B / 16B
2kaki370.09322017/02/12 01:45:510B / 17B / 18B
3ludo370.16032017/02/17 21:59:320B / 19B / 16B

Groovy _

RankUserSizeTimeDateStatistics
1teebee642.72422017/02/05 05:36:150B / 32B / 29B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o787.99222017/02/04 11:58:570B / 42B / 34B
2teebee785.49712017/02/06 07:07:370B / 42B / 33B

Language Ranking_

RankLangUserSizeScore
1gs2tails1910000
2BurlesqueHendrik306333
3GolfScripttails306333
4sed%20335757
5gorubymitchs375135
6Perlmitchs375135
7Bash%20385000
8Zsh%20385000
9Fish%20385000
10AWKteebee394871
11xgawkHendrik394871
12RubyHistocrat414634
13Ruby2Histocrat414634
14Python3xsot623064
15Schemekaki(Histocrat)623064
16Pythonxsot642968
17JavaScriptteebee642968
18Groovyteebee642968
19Bash (builtins)tails672835
20Cllhuii(luck)762500
21Scalarotary-o782435
22PHPphp_892134
23ObjC%20912087
24Haskellhenkma981938
25Lualudo1081759
26Rludo1181610
27Javateebee1511258

return top