Problem Statement
More formally we can define an MLC as follows:
- A <Nester> is a string, possibly empty, that contains no "/*" and no "*/" OR a Nester consists of three concatenated strings, <Nester> <MLC> <Nester>
- An <MLC> is a string that consists of three concatenated substrings, "/*" + <Nester> + "*/" (Notice that a <Nester> can be an empty string).
Create a class CommentNest that contains a
method whatsLeft that takes a
Definition
- Class:
- CommentNest
- Method:
- whatsLeft
- Parameters:
- String[]
- Returns:
- int
- Method signature:
- int whatsLeft(String[] lines)
- (be sure your method is public)
Constraints
- lines contains between 1 and 20 elements, inclusive.
- Each element of lines contains between 0 and 50 characters, inclusive.
- Each character in each element of lines is either '/', '*', or a lowercase letter ('a'-'z').
Examples
{"abc","def"}
Returns: 8
Nothing is removed. There are 6 characters plus 2 end-of-lines.
{"a//bc/*/d", "", "x/*/b"}
Returns: 7
/*/d@@x/*/ is an MLC (where @ denotes end-of-line), since /d@@x/ is a Nester. That leaves 6 characters from the lines plus 1 end-of-line character.
{"a/***b///**/*/"}
Returns: 2
/***b///**/*/ is an MLC, since its **b///**/ is a Nester since it consists of **b// + /**/ +
which is Nester MLC Nester. {"/*/*/abc//*xyz*/*" }
Returns: 6
/*/*/ is an MLC. No longer MLC starts with the first /*. Continuing, we look for an MLC that starts at the a, at the b, at the c, at the /. When we get to the next /, we find /*xyz*/ is the longest MLC that starts there. We continue at the final * which cannot begin a comment. After all the comments we found have been removed, we are left with abc/ and *@ which is a total of 6 characters.
{"/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*abc*/"}
Returns: 3
The MLC that starts at the first character includes all but the final * from the first line. It contains the character '/' nested 12 deep in comments.
{"/*a*/*a*/a*/"}
Returns: 1
{"/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*", "*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*", "*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*a*/*", "*/*a*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/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/"}
Returns: 2
{"/*/*/","/*/bc/*/d"}
Returns: 2
It is still true that /*/*/ is a comment, but there is now a longer one that starts at the same position: /*/*/@/*/bc/*/ is a comment because the sequence /*/@/*/ is a nested comment. This leaves d and the final newline after the comments are removed.
{"","","abc*def*/","*/*/"}
Returns: 17
{"","","*/*abc*def*/","*/*/"}
Returns: 9
{"","","*/*abc/*def*/","*/*/"}
Returns: 6
{"","","*/*abc/*def*/","*/*/","","","*/*abc*def*/","*/*/"}
Returns: 4
{"c/*def*/","*/*/","","","*/*abc*def*/","*/*/"}
Returns: 6
{ "j/**a*//**id*u/z/h///v*****///*//*z*/j*//z/*tmmb**", "/////zt*x//*h///*b/tj*/*///**n*///*p/i//v***p**/*g", "/s**/v*/*n/bvs/j/**/***/*p/pbm*//**bf*/**q*r/*//**", "*///******/b*z*/***/*x//*l*r*m/i**h**//u*f*/**ql*t", "/gg*/**y*b/n/ku*pu*//*//*////lz****v**/d///*/**n**", "a/**/*f**hzu/h*z*//c//*c**mo*v//oa//*///*//t///**m", "/*i**/*//*g*//*/rs*k/xa**//***/w//w*i//d**n*r*a/*/", "/*/i*/bo*/**ih*gg*//j/*x//yo//*///*/o*h*/**o*dg*//", "***/*x*/******/r***///a//******q//**i//*/*oz/w*/**", "x*co*n/*//*/*/r*s/*t*///g*//*/b**//v*f*///*m*/***/", "*c//**/*kv//***v///**/*//d*b////***p/jb/***n**o/**", "****///x*y/*///wa/*l//*////q**/**k***//u/fdt/*/*/j"}
Returns: 6
{ "/**nxd*v*/*a*k/*//*//b/m/**v***twxf/////z/v***o//h", "****i/i/**tx/u/y**////*x///mfw*/g////a*/oy/lq*////", "*/*/fl/e/*****xn//m**o/*//u//*/r***c*nrk*/cb/***/*", "/o/**hom*x//wv//****//*/***///**//*/*q*m*tf/n///**", "*/*/*y/t*j/***//*a***///*f/*k*/////f//*/*/**//z***", "t/cc//e/y****t*h***//g/*******j/b*//*q***//*a///lr", "xv**f*zz//**/*h*///*/r//*/*/*****/*/nq///**/**/s*j", "/**k*////***/*h*i/**/o/*xl*pn//e*b/n/y/*m//c/*/*e*", "/**//*k/ki///*/i/*/*c/*u****/xy//***/t//t//*cf****", "**ote/***///*/**////*cxi/*/*///q**//**/*/*/e*/l*/*", "****///////m/**//**////j/**ku//*/****/o/**/s/***/h", "ge///i*/dgvan/***cchz/*b*/urk//*/*z**k///*k**s*//*", "*//e/i/*tx*/*/*/////*////**ub/*tt/z///*/**/jy*j/*q", "/*/*wd**/a///qs*/r/u*e/h///*//i//**////f*/u**//*/d", "**s/***/tm/n***///*/*l////*s**p////e*/slr**/***/*/", "*nkr//qd*ai/oe*/x/f/*jt*/y/*/*//**////v*/jk*/g*r**", "*/*afa/m/*////gr*///*r///***/*/*****hjx/*/r//*//*e", "e//*/****//**g/h*//x/cz///*//**r*//**f/**/hd******"}
Returns: 13
{ "p*pa/**//*//**//if/**//**/*/*k*r*u/wr*//o/i**/*u*x", "c/kjx*///**/w**z*u**/qx*a/*e**su/***/*//m**//*/h*i", "hr*//////*//**///o*nm*////**l//////ob*/tb/**/c**t*", "l***d***p*/n/q/*/*/y*/g*///o*b//*s****/o**i//**//v", "****/w/**//***/t*/*/***/r/*e/*//*tp***/o*/*******h", "py//*//*//ld/*/wkw*ntsk*/*//**u/////*q/*o**/*////x", "/*of*/*eo//*/w**//a/**/g//*v/f/ja//awf/**cy*///b**", "/**/**//fs//*///**/u/*/m//*z*//q**/**//g/d**w/****", "gp//*/k////**y/g/ra*///**ea/****/r/w/*/t*t/c/*///*", "///w*/m/l*/l***kzl*/x/*//**j*s*/*t/w////**/k/t*sf*", "/r**/*/p/**o*v*s/***e*/*ts**//*/n/*/*d/an*d**l/*/f"}
Returns: 6
{ "//**/hwe**/r*/*/n**z///*/zt/s**/*///******/*s*/*rk", "/***//*f*//*/u*y/*lf*i///*/x/*///qj**///f/*//m*/*/", "/**b/////*/p/*/p**g//a/*/z/z/**a/y*ul/*****///////", "**/**v**f*a/*b*/g**//l*z/*vt//tziom***////*z**j///", "q*/nnb*cl**y*i/sg*****t*ex*a///y/q*y////***///*e//", "*/*j/vhc**/l*d/////u*/co*u****vr///*****z****/r**/", "/*/**k**/lh/*e///**o//*/*n***f**///*///g*a*u****//", "*/nu/h**j////*/kv/s*****b*/u///***v*bn/j**/etn*//*", "/****b**/****dw**/*/**/*/o*x//*////*/s/s//*/z*dj/*", "/v///x//////cs*w*k*p**q/*r**/**l//////**/***r*//k/", "/*o*/**//**y/*****////*/q***//x//*////**e//*//xxm*", "/a*r/*/c*s*/**/*/xq*s*/*/f*//fdke**a**h/*p/**/t/*/", "n/*/***//t*/**s*/*as//*****/*/*/*//m*//////*d//*//", "xr**v*//*/i*//**//cr*z/**xy***/**r/w//***//d//tli*"}
Returns: 29
{ "//**///t/***//****/p**///*/w*f***/**/a**/*o*x**///", "*/*///cs**d*/*/i/rvlm//**/*l*z*/*//*//c/g///*////*", "ndf/*//l/bd**u*u*/e/*/mx//l*/**//e/k*/**a*/*/t/***", "*//*/r//****//*//p*/*e/g/***jq*p/q//*/*/y/******o*", "***//k/*/**x*//*gz//tl/*//*o/*/////**/mvs***/x//**", "*///b/*/r/sx***//*r**/*m/v/y/yxu///*g*xlo//iy///*/", "**/****/*zd/*/*/*////t*/**///**/*/y**/r**////w/*/*", "*/w//*//***/***e/*/i*f/j/*p/*aqyob*/*a/*/kb/*m*rhf", "*/*///*s**/**//***/yj/eb*//b///f*t//*/fgc*/*//*/x/", "///lia*////***/**n/j**/***/t*t/z**/*/f/**/*////***", "////*////i/m*///*/*/*e**w////e**/z/bwjsy/*uu///***", "*x*///**//**/*//***//*s/*gi*/h*///w*/**/*j/****///", "e/*q/*//////d/e/**/x///p*/****/w//h/rbgz*/**/***/*", "/*c*/e*l****/*/*/u*/ho*o//*/z*/**k/j/*/f///g*/tl**", "////h*d/*yr****a/**v*****r/in/c//*/**/*lp/*//**/vb"}
Returns: 12
{ "/*a**z/*/b/l*/*//////**a///s*zi/*f*/xq//*z/*//****", "**q*/y//*/*//**m/*/ve**j///*lfhq******/*//**gr*//*", "*t*i*qa*//*/**fcn//n***c*/*/*qs*/w/**a*/*/***g/*/*", "**/*q///g*////*p*///*/*/*b/y/**///*b/yu/*g*u*/****", "/b*o*l/g*n*///fi/****//****v*f/***ey***c*/***e/*/m", "/z***fxi///mv/z*/o/p/hc/ew/**/*b///**/*r*e*////**d", "**z**//**/x////l*/oo**/t*///*to////*x/*n*d/e/*//**", "*n*m*mk//**p*p**////*p*a/j///ot///*/*/f**u/****/**", "/**s////*/w///**te/*/b/c/*//*s*s/*/*x/*//**y*u***z", "t//u**/*/////*jw/*/cw****a*g*p/*zy/*//kv**j*/**/*/", "/o/**/*g*//**/**y/*q/lmq*b/zr/**//*x//k**a*//*//*g", "xo//a/y*/**////mwi**x///*/***a/*/*///*/*//m///*u/z", "/*/v*///ai*/b**i//*k/*d*u/*/**i/*//*//***/vx/**//*"}
Returns: 5
{ "a**//cn/e/***//*p**w*b**//*//w/*oe*o**/*/***q*e/*w", "/k/l//*a//j/*//o*/**ca/*ov*/m//*/k/k**lda**/y**n*/", "/**q/g*/j***qb**s**//novwl*/**/n*n***a////v/*//**u", "z/*//d*/*gp******a//*//***//*i/w/q/*//*/*/**p///*/", "/**j////*m///r***/*/o//ie/*////e/**/*/***///**/n/*", "///*jr*/s/**/vz****////*///*t/*j/g/m*v/y/*l*///a/u", "//*p/***//*a/z**///y*ys*/w*/x//////g*q*////**nz*/*", "*p****/**mxv*ni/***/*/****wk**//zj*t/**/*l/*lt//bz", "*x*m*xy//**//*/q***z*****/vm/*/*cf//di/*//*q*//u**", "//*r/y/*h*l*/z*w**t//y*sq//*/d/m**//ei*k**//an/iy/", "//j*nhtd/g//k*//////*/***z***txdp//x//vi/*g*/*//**", "d*p*pc//c****/tck///b/*e/th*/y***w*////***b//k*///", "u/**d**/*/e//*//***/*z*///wc/**//*/l//////*g/****t", "*d/z****/**/d/t*/ixs*/x*//**/*/**/*/****/////*d*c*", "/hpb///*/l/k/s*/*/***//a//i/*/be*d/*//*h*///s*////"}
Returns: 13
{ "//**////**////e/u*/yse/q*p/**/l/*/*//o*//f//m*z**i", "w/x/*/b***v***y*/ti/*/t**//*/s*m*rl****y*/*n///w/e", "***/k//baslt*/hu/y/z///*p*//*/**oni/***v*k***nd//*", "***u*/dy//tu***hst/s*//***/**w*y**/**c/***//**v/*/", "y*/**k*/*u*/a***/yd***/*/*be/*g*/////**/clsi***/*/", "//mc*/r/a///**//*/mj*o/***/***//*j/x**/uudsf//sv*q", "*qb////***/s*t*//**v*//n*u//c*an/v***o*wtx*/*****k", "j/w///**b**///*/*a****d/**g*/fj//**cg/***xsehj/*e*", "*y/**/*/v/**j/h*/z*ku/*//y/g///w/*kv///*/*//**o//z", "/*i*/*///*/vup///z*///**e/*/***k*k*/nxek///**/*z*/", "*x*/z/j/qo/*////////////***/*//ncyxz/egq///fq/w//k", "*//*///v**h*e*/c///*///**qqveq*///*k/**g/c/***/***", "*/x/f**v*i**/e****i/zb//kfx***i/////*****y**/z**ie", "///qxy*t*r/e/*/k/j****/x/wyj*/*k/c//o*///y/n/s*sr*", "/t/s*//**zo**l//*/*/**//jc**fr*/la///p//*/u*****/*", "*/////*q*fh*///u****///f*k//i/jor**s/e******//////", "/d//**/gu/u*jisy*//*/r*/g/*//r*i**/v/*l***////*//*", "/**u*/wpr***wk/zq//uq**//g**//*/z*/vb/**/o*/*t*s**", "/l/q/r//*xae/*/s**/b////*b///k/**l/**tc/xz**//**/*"}
Returns: 36
{ "*y/mb/*n///r*iqy*//*/*//*/*w/****////*w*////**/*/*", "*/m///v*//*u*///****//**n*if//*yn*//*//a*/*/*///s*", "/gx//ga***//sn*ao*///*//***//e//*i/**/hr///*/x/n**", "*//*/*z*/*///**/l/***/*s////*/t*na*/**vb/*//**/a**", "/mvx**/s/s///q//xy*h////*/*/ce*//j/**l*/*////z/g/*", "j*o//r*///*//p*t*//**/**f/gy*gn*/j/lj*///*fh///n**", "***//****//*y///////g**t***v/*****l***/n/**m*w****", "/vwd**///*/g*******c/a//*a*////*//***j/***/*/r/***", "*/*/*a**//z/////***/*/*//*//u**lx*l/*s/u/b///*/**/", "s//f**/*/l/e*n*/////z/*j***/e//eu*/y/*//*x/n***q//", "/**s*/*q***w*/*j/**tv/*jx*/t*/**/s*o**dn//*/m/**/*", "*/*z**an*f*///*//**r*/um****n/**/p**/**/*ierx**b/*", "//*t//*/v**//*/d/*/**a///r/d/k/*/*///**///x///s*/*", "*/**m//q/u*/i*q/*j/////q///***w**o*/w////jj/***f**", "*k/*/dmx*//p*/**/*///q//*q*/*a//g/*n/f*h*ern**/u*/", "/*/f/c*//*/*b/*m///i/****jztj/ird//jx*c**xoz/*/**/", "**/*/i*/**mh////*/*oq*/*///h/n/*/kw//**dz*iw*///s/", "*/*g///**q///s/g/ij**/s*/*****/e///*z//****n/oe//q", "o///*g/m//**/*//*/*v*x*/*/*/*ly*//up*m///m/k*l//jb", "*/*/*//i*//*j/*hf*ki*yo/*/*x*/***/l/*//ks/**/**f*/"}
Returns: 6
{ "*q*g*c*/***e////f/****/b//**j/*//m//****/**g///**q", "/*/////*///f*/*y*////w/****z*/u//**/*/o/wycv///m*x", "*f*/*/*h/qm*a/*/qz**///e/*/////*q/d****k/*/*/o*x*c", "/o/u*///x///*r/j/q*jvb/*k/pt//j/ypgz/*/*ft/h///*/*", "//z*/e**c///*/o//*/***/*/**w*k*z***//**n**/j*j*///", "*v***/u///*/i*/***/*//*/*z*kh*/*kb/m/**//d/*///*e/", "*//*/*/**i//**//*////o//*z*s//c/q*/*qf/***/hxe//zg", "//vp//dv/p***t////q*m**v*a/***/**s**b/i/*b**/*/**y", "////hv**/*****///xh//x//*b*/**///j//*/*j*/il****/j", "*//*//t/*///**//**/**/////y*k/*n*v*//*/d/s*r/**/*/", "///i/*isq**/***a/ri*/gh//uv**//o/*//**//***h/*fp*/"}
Returns: 13
{ "///**//**/ne/x//fz*v**y/*y/ac**z***//*mbab*k/i/*/u", "//**//y***/*////***//dvv*/*//p///**o*t*//**c**il/*", "r*/t***r*biu*//a*qi/*/x*/i/**/*/*dsl*/*//**oz//**/", "aw///**u//*/*e*jggi//t*am**fi**/y*/*//*/*p*/*u*z/e", "**///g/k**f****/x*t///**df***/yj/e*/d***/n*rfl*/tw", "yr/*/*/**/**/*/*****h**//**y//*r/m/k/k*i//in*/*s/*", "*p///**/*//**/t*//***b//ty*//x*t/j/**////**/kh***p", "/*s****//v///j*///*g****k**y/h****//*m**a/*l*i/d*/", "///n/****/hst/t/l/*b**cu*//zf/**//*/hv/**c***k///*", "/**/**/y//*/*/**/yi/c/k*qx*n*/*/*//r/k/*/***/***//", "**//*/**//*/*xrlm*t**s//i***/*u/**/*///qb*/a/f/*/t", "/*/n/*n//*/h/*//**///**oh***//*/*c/*/*////**z//**/"}
Returns: 23
{ "//**g*//*l/*n*c/u//k/////*////*/*d/*/h/fbs//*n***/", "/w//*yy*/v//**//*n//**/***gwf*//*//****/*j/*r//d/*", "/*w/r*/k*be//*//**rp///*/****//v/*/a*fllj*//*//sv*", "*h/q*j///***i**//*z*z/*w/**g/**//x**//**/**/***lkj", "*/***//f/h/*//****sqik*/y****///*//f//bl*j*****f/*", "*/q/**/bxgnd*/kg***//*z/**fkxa/f/*x///x*///****g//", "*/rzm//*/*////**/k*nb*//d//o/***///**y*/c//d*n***/", "fy***/*///f/*/j*vw//j//b/*///lvw*//*/d*c/**k*y/***", "ejd*/s/**/d/***w**/l/**//**/g**kn//w***/l**//f/o*g", "/**/a****/**/eb*w/j//zc/*g*b/**/******z*ydynk/qj/f", "/*///*/s**s*b/n/**/*//***/q/***//z**///y*/w*/b/*/d", "*yg/*//////*/w///*/n*/*k*/**gg/g/vwy*//**u/*//////", "***u/*///**/a*/**//u*/*/**/*wxe****/*ai*/*/k/*/u/t"}
Returns: 5
{ "/*/*/u*///z*//**/*/p"}
Returns: 4
{ "***m/***//**/**/*c*/"}
Returns: 5
{ "/a*//*****//*c**///*"}
Returns: 8
{ "/m*///**ea*//*l**///"}
Returns: 8
{ "/*/jt*//*/*g*//*/k/i"}
Returns: 4
{ "**///**//**//*ku/***"}
Returns: 13
{ "*o*//*/*//**//*v****"}
Returns: 12
{ "slu/******//*m*//**/"}
Returns: 4
{ "/s/**v*//****l**/**/"}
Returns: 6
{ "/**d/*ub/*//**h**/*o"}
Returns: 7
{ "/*/*//**//"}
Returns: 2
{ "/**//**/lm"}
Returns: 3
{ "b/**//*/*/"}
Returns: 2
{ "//*n*//**/"}
Returns: 2
{ "k//**//**/"}
Returns: 3
{ "/**//**/"}
Returns: 1
{ "/**//*/*//"}
Returns: 2
{ "/*/*//*h*/"}
Returns: 1
{ "//**//**//"}
Returns: 3
{ "/**//**///"}
Returns: 3
{"/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/"}
Returns: 1
{"///k**/q*/**/d*v/a/*/**//", "/**//q*p/*/////v/*////**/", "/x/e//*c/n*/*/*/*v//*o***", "*n/x*z/*fn*t**/z*///*s*/t", "**/***//p*/o***/t*dues/**", "*q/**//*n/*/*///i/**/c*a*", "*w*h*m///d/**/*//**//*/*/", "uwo**//**/gs//**/**/u*/*o", "q/*l*tai/e//*/*a****//*r/", "/svhl//b*o/h/q/ud///*o/t/", "", "", "", "", "", "", "", "", "", ""}
Returns: 55
{"/****//x*vyo*/////**////d", "/o////*imz*z///**/**v**i*", "/lg/*///**r*mv/m//*///kz*", "zf***l*f**p*/*xq*w//i*mv/", "//**s*/dty*k//*z/to*////b", "*k//*/**///diz/*/bnd/b*/*", "h/**/g/jd*m*c////**/*//t*", "*//j/b/o/b***//*/*/l*/**/", "/*//**k/**/n*r/wc/q/m/rj/", "t*f/*h//***t//*//n*e**/**", "", "", "", "", "", "", "", "", "", ""}
Returns: 56
{"/j/*m*/n**//*//*/w/bteo*h", "*e/*bt/f/**p/*///*/n*///*", "**//sd**/*///p*****/*l**/", "q/**//**//*kcn/**b//**/y/", "/e*/c/*///u/**m*///*//*//", "*a*//l/*jm***/**i/*r**o/*", "u**f//*/*xe///zn/q*c//**/", "//**e***/*///**/*r/*e//o/", "*****/**u*/z*/p*/*/*/*a**", "/q/*/i*///*///*/d*//***g/", "", "", "", "", "", "", "", "", "", ""}
Returns: 23
{"//*gqq/*//*//jx*/*s//**ep", "/*//******/*///*f*//l*///", "k//l*e//*i*g///*/l/*/s*//", "z***q*////*///*ev**gy*c//", "x//vy/bo*mr//**r*wte*v/**", "/y*h//*n/xb/*/*/*j*w/z///", "**/a//ij*un**/v/*//*/**/*", "/**/ge***y/*/g*o//*p/*/yc", "w/*/*//k///*///*****//***", "*n***/k///*u/lt**i/juy*/*", "", "", "", "", "", "", "", "", "", ""}
Returns: 17
{"*/w///////*b///*/a/l/yy**", "/*//*/*///z*/l//////*/*//", "/*///h*afq/m*j*/*op//*ut/", "*///*k*m*///*y**/*t//*o//", "////*/y*s/na*/sx/b*//g//n", "***z**/e**/****v****k/lq/", "*n*r*/c///**/*pp**/u*h*p*", "///**d/*/n*/f//*//**/*t*/", "/f/*/*ey/******tb**/u*/*s", "***y/de**//*//ct////sy/*/", "", "", "", "", "", "", "", "", "", ""}
Returns: 20
{"tnte/**/**/**//m////***//", "*/*/b**/q**z*y***y/*tv*//", "*i/*/m/l/*/*b/h/**/d*x*/*", "/**x/**////**o/aob*n/tv//", "//*b//////*/*////ht/*ekvp", "**/i//*c*u*b**/n**o/////*", "c**chp**//*/*b*/*c*ox*/**", "dl**/**db/r/**/un****y//i", "//q//**e/c//l/g/*/jb///**", "/*m/*bbpyau//*z/*//*a**qz", "", "", "", "", "", "", "", "", "", ""}
Returns: 63
{"/ds//e*n*///*//*/*///eei/", "ou/d*l**/l/vs*///i*//y/**", "*//*//**/athm******/v/***", "*e***y/fyc***/m/*/*x**u*/", "*ie**mp/***onh/**b*j/j**/", "/rl///***c/*/o*tu/gc**/*/", "*b///**/*v/*/o/*//***/**/", "//n//a*t//**/*b***k*/**v/", "*j//b*sm****k/**/c***qf/*", "g/dyk*/*//*r/**a*/ff**x//", "", "", "", "", "", "", "", "", "", ""}
Returns: 36
{"*///*tf//p*q**//u**f*a/*/", "//*//*t/a*/*/x//***/i/xmq", "//*f*//xs***/***/o****/pv", "/****x/v**///vta//y/*xa**", "*/**o/*/*/****/**x**/*//*", "/**/r//*//y*/rmcxs**/o*//", "**/******d*l/j/*na*v//*y*", "**/b*t*z*//***/c//u//iy**", "/y//*e*/*w//w*//**/i*u/a/", "*///*/*p*/d**/y***q//*l*x", "", "", "", "", "", "", "", "", "", ""}
Returns: 32
{"g*/**g*l//////f////*r/*/*", "**////**/*/**a*fcw***g///", "/*//y**//ps*k/*/***//*/ti", "////y**r*//*/j*/or/xz*q/g", "**//*/**tx/a***k///t/***i", "/*bq/p/w//kv*/****ss/r/*/", "/*n////**/*/*/***h/***b*/", "*****/**/****////k/*//***", "/r/oa/*//qk**v*l*v//**/*m", "d*/f*w*/////**/*/****///h", "", "", "", "", "", "", "", "", "", ""}
Returns: 16
{"/*/***///*t//*/*///*/r/g/", "cy*p*//*//**/**///**m***h", "t//k*///*k/*k/ji/r/p//eg/", "//v*w//**/**///*/*****ma*", "*///*j/*n/e/**/v*z*///***", "**d//u*t//*x**s***/*/*p/*", "///**/*ow//j/**/u/*/*//*/", "//*/i/*s/***////**//q**//", "j/**/*p**d/f*nxdf*/*/**s*", "*pu*///*/t*//w/t//*/pd/y/", "", "", "", "", "", "", "", "", "", ""}
Returns: 16
{"l**/*/*/////**zb***/*/**/", "/c**/**g*h*cs/**/y*/*/**/", "/n//*//*h**///*/oz/s*c*/*", "*////m*//**m//*v///*/hi*/", "**x/***v*k*c///bbb***//r*", "**/*y*to*/lj*//**m/**txq*", "*/*nl**s*//s*/u*/////j///", "*dm//p*j**/***/*//*/v*///", "*s***l*//d/g****/g*t//oko", "**///*z**//*/a/////**xn*f", "", "", "", "", "", "", "", "", "", ""}
Returns: 26
{"eg//x*///**f//**lb///eq//", "**/ry*//c**/***p**/p/**y*", "/*z****w////kl/*d*/bgvo//", "*d*s/z**//*t/h//l*///l*//", "****lu*///***/wo*ugg*x///", "*k***//****o*i*//df****/d", "sx/**c//**/n/*////fa/q/q/", "a*///*zz***/*//d/c**//*ka", "bh/*//*uk/*/pf*//*/n/p*wd", "*d**t/*z//*tcm**d****//n/", "", "", "", "", "", "", "", "", "", ""}
Returns: 84
{"i***wm**/f/*//**e**m***d/", "k*e//*****////*/*z**///z/", "wc/*/c*l/**/*/y*x//n/j/ea", "*e*gn//**q///*/***/h/aw//", "*//k/q//xm**w*/*/h*v/z*n/", "/f****/*/////**////c//*a*", "/*///*yo*/v***/**o/r///l/", "/c/*/*/b/*//***k/*e*q/*p*", "/z//*i/m/*/i///***m**//f*", "*s*n*a/a/p*//****z/*u**a/", "", "", "", "", "", "", "", "", "", ""}
Returns: 44
{"*l/*/*///dpy*g*//b***////", "*g/d*///h//*n/*//q*kh*/n*", "**////j*/b//*f/wm**h*/i**", "**q*//***///s////*/****h/", "/y/yj/*n**mf**j***l/*//mh", "**vt///s**/*/*//****o/v//", "/*/k///**////pv///*/*/*/*", "/*///l//*p*z*x/**s*y*/n//", "/oe**///*/*s*//////*j**b*", "*//*v*s*w***/q/k*c/*/b*m*", "", "", "", "", "", "", "", "", "", ""}
Returns: 54
{"/e/jcn**///l***r//**d/**/", "/**o/****rj/**/*l***dt/**", "/**/v/*/*b*q/***/g/l*b//*", "*y/w//*/**cb/***n*g////m/", "//*///p/oq*/*//**//*/*/*h", "//*d*es//*/umd/u*////n/**", "//**/****////*/*x/*/z/lz/", "/**/////**/u*g/x//*f/i*/y", "*/*//*/**b/x**///*/*****t", "/c**//uh/p*/c//l*/lw*/n*/", "", "", "", "", "", "", "", "", "", ""}
Returns: 28
{"/t/*/*/xg**x**/*gt/*/p///", "//z***jx/ap/t**/**l/*i/h*", "/*xykd**twi/*hjj/n/tu**y*", "***z//*o**aqi/j*/k//*/*z*", "/***lr*m/kf*///**k//x*/**", "*//e//**/*/*/**/i//y*d/d/", "///x/**j/*/*//**tadw****/", "*je////**m*/*///**/h**/d*", "//*k**/*//p*/sjz**//ll/*/", "ggf//s*cr/***a**//ra//**/", "", "", "", "", "", "", "", "", "", ""}
Returns: 27
{"*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/", "*/*/*/*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