QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#113149 | #1948. Longest Common Substring | rgnerdplayer# | AC ✓ | 71ms | 4292kb | C++20 | 1.1kb | 2023-06-16 15:28:29 | 2023-06-16 15:28:30 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
#ifdef LOCAL
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
auto solve = [&]() {
int n;
cin >> n;
vector<string> s(n);
for (int i = 0; i < n; i++) {
cin >> s[i];
}
set<string> cand;
for (int i = 0; i < int(s[0].size()); i++) {
for (int j = 1; i + j <= int(s[0].size()); j++) {
cand.emplace(s[0].substr(i, j));
}
}
int ans = 0;
for (auto t : cand) {
bool ok = true;
for (int i = 1; i < n; i++) {
if (s[i].find(t) == -1) {
ok = false;
break;
}
}
if (ok) {
ans = max(ans, int(t.size()));
}
}
cout << ans << '\n';
};
solve();
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3512kb
input:
1 a
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 2ms
memory: 4104kb
input:
1 cmiuewhyubcdsmnklnjuiqoiqwioqwertuotikjdshfjkghjdfklhjdklbvmxcvbcnxmzbvcnxmbvcxnmhfjdkshfdjskfhgdhjs
output:
100
result:
ok single line: '100'
Test #3:
score: 0
Accepted
time: 61ms
memory: 4288kb
input:
1000 szsjgpcxkxvppofmajenxsalqszfulcorsfnalpjohdltsctqswhomggsqyoiktkqrkfbkgnyrrudtmuhquimrizgoxyjerhrahy szsjgpcxkxvppofmajenxsalqszfulcorsfnalpjohdltsctqswhomggsqyoiktkqrkfbkgnyrrudtmuhquimrizgoxyjerhrahy szsjgpcxkxvppofmajenxsalqszfulcorsfnalpjohdltsctqswhomggsqyoiktkqrkfbkgnyrrudtmuhquimrizgoxyj...
output:
100
result:
ok single line: '100'
Test #4:
score: 0
Accepted
time: 1ms
memory: 3476kb
input:
1000 v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v...
output:
1
result:
ok single line: '1'
Test #5:
score: 0
Accepted
time: 3ms
memory: 4188kb
input:
1000 jostbfoaebxozepnzbxkcrywmzihbjpsqsqrlnfynvdozmeeismuofmbtwvwgucngtrcilfdruukndijrijexqyevbdketsazpsk kfvxolsucmvyijgwmqndmrogjcailsxyyjbkghoqnxkjxubveqxoideaydcakxerfbzcnizwfuwdaaxcqbwqteijbqodyhlhysak lvqpdsprqshmlnbxyxptfhlietwjnigxbjduactxjjmmfvrhpahpjhjulanchonhjziovamuyvmilbizreguusrmxxpoq...
output:
0
result:
ok single line: '0'
Test #6:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
1000 s r w i m s u e n w x p i n r k s c l z y h h m p g j o e c r n d m f i x z y p r m o z i o f a r u l d v l n g h l x t y f m e a t w p t s r d d b v s d d h f d x z u g e w y e z y m e a q w o u f e y w f o e j k m j v u v k u m y z g d p a c b m n y o j z m i h p e z b l w r n f h p g a l h k...
output:
0
result:
ok single line: '0'
Test #7:
score: 0
Accepted
time: 9ms
memory: 4204kb
input:
1000 mdabrdeqccntbwbrujceimbpxtilngtcjwyynsjvmueqcsncddtvxpdyxaxhkwvalnstthrctuybbvdzsufiqobzydqqopzekplv oxhbjrkqzogkvyxqpossmamvzhxpijhrochtobabrdeqccntbwbrujceiutuhmsjegjihbinzmawawcwzyihfghvjhwqnxytmmij sonbqngwtpsfmxbpdyafjabrdeqccntbwbrujceigxnbnmufkycdirszwoixqyecbwbepwflcgkfyfgyxfzslksxdawju...
output:
19
result:
ok single line: '19'
Test #8:
score: 0
Accepted
time: 29ms
memory: 4188kb
input:
1000 jvatbikycczwcetcqzfazetnjmneymasrysiellmckdzmeczdjwvhdynjlcanbjrpgydkdhsmajksjlktiqsuzucxmhgbsumpwip uegyxgkhkzpohtskslccjhkknrzllmckdzmeczdjwvhdynjlcanbjrpgydkdhsmajksjlktihwmvfskuwbzmqbelluufjgtjrxdy gacmfxibvcrwwopsllmckdzmeczdjwvhdynjlcanbjrpgydkdhsmajksjlktinrddempucpqnrmwllknsbzenuhvqflbn...
output:
45
result:
ok single line: '45'
Test #9:
score: 0
Accepted
time: 3ms
memory: 4188kb
input:
1000 mshdvxprommncikuiqzssxwgtwzljslsucqbcdzutpsxxgorsysijgqxafijmrnwqukphoydxnbupjzniwrlqunislturkyylryh qdtuwuoukpjwygvkjqcssttsebsdqksjbdvwaqunypvnswavxrquftkepnlmbteodbktiyosrjfpqhpydsgsizpndyrycgtwxjxg eylewwoejyouwxqykppwlmwnkbjdiyobwerhqhrgmbdqejeqdbhkpypzjincrtupadopgjrpocranlldtvpjxvmyphxzk...
output:
2
result:
ok single line: '2'
Test #10:
score: 0
Accepted
time: 64ms
memory: 4292kb
input:
1000 wkfuyfkfbnnybgmjlosrrrseohopvobgickxquahypbsavcljhaibrzxyonpielizrgjuoeddpxzypusdrsofhjjpuuytwlqsuse fntuwhgsmtkfuyfkfbnnybgmjlosrrrseohopvobgickxquahypbsavcljhaibrzxyonpielizrgjuoeddpxzypusdrsofmokbil zzijcfpzvqzkfuyfkfbnnybgmjlosrrrseohopvobgickxquahypbsavcljhaibrzxyonpielizrgjuoeddpxzypusdrs...
output:
84
result:
ok single line: '84'
Test #11:
score: 0
Accepted
time: 69ms
memory: 4252kb
input:
1000 tvevicesqhzmgdjoyojnowyekpbxvmxzzjkywbqosftjntlzhuswmhmrmansoarwcmbsmrgulwwprnhjotaxuvrlpapyzsdgoikv zydicesqhzmgdjoyojnowyekpbxvmxzzjkywbqosftjntlzhuswmhmrmansoarwcmbsmrgulwwprnhjotaxuvrlpapyzsdgoikvp oicesqhzmgdjoyojnowyekpbxvmxzzjkywbqosftjntlzhuswmhmrmansoarwcmbsmrgulwwprnhjotaxuvrlpapyzsdg...
output:
96
result:
ok single line: '96'
Test #12:
score: 0
Accepted
time: 14ms
memory: 4248kb
input:
1000 qtcchefujismjybhkgdehcaqymfrvrglrxuhzpaabusonnkzltmijzwsvdpxjekwtlrcuivdjtkqxmzvarppsbuavlwvivnjgvrr endsoehdvngbfzdtenzxhsjzzlvhqdabnjksmzncyierrswnxbazkegheifahfrjmnjfrttyxjtkqxmzvarppsbuavlwvivnjgvr ozxyrjiojaippxpeurancxoipyuqartvadjtcnmozbqoyyhqmveuakhjchdyeuooitoatkqxmzvarppsbuavlwvivnjgv...
output:
26
result:
ok single line: '26'
Test #13:
score: 0
Accepted
time: 60ms
memory: 4188kb
input:
1000 qhhpjczorkteymgvuehpnwkbidtlrctmhzaggyqxfnxehelvuxjdbbsyojxuknhygljtcfoudmxqcvbfojeimykdnhydwgkrfruz yhielxggngsmvguehpnwkbidtlrctmhzaggyqxfnxehelvuxjdbbsyojxuknhygljtcfoudmxqcvbfojeimykdnhydwgkrfomovv cuehpnwkbidtlrctmhzaggyqxfnxehelvuxjdbbsyojxuknhygljtcfoudmxqcvbfojeimykdnhydwgkrfpslzzqmxfjc...
output:
81
result:
ok single line: '81'
Test #14:
score: 0
Accepted
time: 46ms
memory: 4232kb
input:
1000 qjbdcmetjdocabycafapvvxyyedirgfrexudtdfdwralqsrabndykygdvmwypsmtwojhbpmpgjkwtgzigmukyfprnykslfbpgxxt oocabycafapvvxyyedirgfrexudtdfdwralqsrabndykygdvmwypsmtwojhxiwictjymvfzsrdddythsynwljyiepldmyheazvfg wowrzabggruxzzkllrkwaqsxsjgqnfytnugvvppvocabycafapvvxyyedirgfrexudtdfdwralqsrabndykygdvmwypsm...
output:
58
result:
ok single line: '58'
Test #15:
score: 0
Accepted
time: 7ms
memory: 4240kb
input:
1000 tvgixfhjalhevklchcyhfarlhqrcsgcpuhqnhvrdknydkfnevzruehefkyznnlrqslvonxcgsqxvfxiwfctroyglgxxxkmrxdtcw eikreymikdyvjgnnervbbevzpdtlzetjnqurqjrlhqrcsgcpuhqnhjdzzlaefphgenqosikopnuyhqgfpfzmmfbsdnrysctxbzxg ituuzicuzjajkiwjptxajchmlrorcojtcoyomrdtbexwzigmcmzjdjvbkmapgfhcrrlhqrcsgcpuhqnhdtgccndvvnhxa...
output:
15
result:
ok single line: '15'
Test #16:
score: 0
Accepted
time: 5ms
memory: 4260kb
input:
1000 koiihqyqozjhjyyeprtrttlwayibxhnuzawyzkdxcwibfccirvxlumbxnxogudemgdcghkaycvxdponpekfevvrnyijgywoksvwg ygnlheoxuajkvogpsphbadnylagcbkedocolozjhjyyeprtrznbenisfguqtuqqbhsavtiqxahvscnnnmgtewoqaozvndpblvclp dihivqubjqopbjaaxihbryhvbemyjsvnrlkjuobwozjhjyyeprtrkjcpkiskuwklntincohexyqjpxlbrytsfhlzraiea...
output:
12
result:
ok single line: '12'
Test #17:
score: 0
Accepted
time: 6ms
memory: 3580kb
input:
1000 dljzcitbpqgybxemaemy zdljzcitbpqgybxemaem ftuincnyrnoxlfpdunmhyyvdljzcitbpqgybxemaemjsivkfot bxrugneypmznguydujmouakymwdljzcitbpqgybxemaemcozo jqmvdljzcitbpqgybxemaemkj swsicjwswlxlxollcqnrcpitlspdljzcitbpqgybxemaemlmayrudvxgshdrynjwsvvzawvmeoyyekq ihjungydljzcitbpqgybxemaemsp ondvwghtaroijidoi...
output:
19
result:
ok single line: '19'
Test #18:
score: 0
Accepted
time: 48ms
memory: 4000kb
input:
1000 efxkinlglyvjchljgnpdlmexihwllzqisbenrqbmqeuwoeyxapfcydcyatsofhpxcgtcawydqxjtqmp ckstzrifdykynfxkinlglyvjchljgnpdlmexihwllzqisbenrqbmqeuwoeyxapfcydcyatsofhpxcgtcawydqxjt vfxkinlglyvjchljgnpdlmexihwllzqisbenrqbmqeuwoeyxapfcydcyatsofhpxcgtcawydqxjthwtivym smlizkuvurhzcfxkinlglyvjchljgnpdlmexihwllz...
output:
75
result:
ok single line: '75'
Test #19:
score: 0
Accepted
time: 71ms
memory: 4284kb
input:
1000 zuushvuqhweidxsbzqazqsnsshtgymegsvnhakdyuxqcunlnzgrgsvrctxeuafsiakikbbyxtysuhhrpxqttvncrgotmeagcoguu ryzuushvuqhweidxsbzqazqsnsshtgymegsvnhakdyuxqcunlnzgrgsvrctxeuafsiakikbbyxtysuhhrpxqttvncrgotmeax zuushvuqhweidxsbzqazqsnsshtgymegsvnhakdyuxqcunlnzgrgsvrctxeuafsiakikbbyxtysuhhrpxqttvncrgotmeatu...
output:
94
result:
ok single line: '94'
Test #20:
score: 0
Accepted
time: 9ms
memory: 4196kb
input:
1000 cgwsnhbohhqvfqzaqkiuvibfbvgopbkqugcdjklfmezyodhcshtuyqgffllkfmixycavylaeyiefnjwzqsajuykyhiqiytensn xfmufcdjayadcgwsnhbohhqvfqzaqkiuvibfbvgopbkhjn cgwsnhbohhqvfqzaqkiuvibfbvgopbkxgsisfrvafnemdi uhlcquluhdytcgwsnhbohhqvfqzaqkiuvibfbvgopbkjn bztkegkboynqidyhqlxxvdaxumyqncgwsnhbohhqvfqzaqkiuvibfbvg...
output:
31
result:
ok single line: '31'
Test #21:
score: 0
Accepted
time: 20ms
memory: 3720kb
input:
1000 dtlfzmhqoqklxbdhclfjegvzwtejbishgkzubbkagrfojkymzgafnpb lxbdhclfjegvzwtejbishgkzubbkagrfojkymzgafnijauqnjzioxncl lxbdhclfjegvzwtejbishgkzubbkagrfojkymzgafn wlxbdhclfjegvzwtejbishgkzubbkagrfojkymzgafn aurfatjgsgbpakdledauolxbdhclfjegvzwtejbishgkzubbkagrfojkymzgafnihvqaeppcxjmzbreppulrbg phdttxlx...
output:
42
result:
ok single line: '42'
Test #22:
score: 0
Accepted
time: 3ms
memory: 3956kb
input:
1000 rnaqrbjqrwemrqmymdkejwwvlxdlhslzkflgaisjzgfyuhnikyhnqjfaavkyhormfxkgkrqjxsovvpjuag gaisjzgfyuo rwhgdysfvtcsrvtyngaisjzgfyutyzxdwkhgkutqarpamvdtcidkahabhkiscpaevymbinbemobqlpsdhzztynijzugsibducyx wodrdtxezteyggkcmfngaisjzgfyuejkdogna kozgaisjzgfyuezsnxuefbajmvcbqqaevxwx gaisjzgfyudkmjrzolgvtrtlh...
output:
10
result:
ok single line: '10'
Test #23:
score: 0
Accepted
time: 63ms
memory: 4220kb
input:
1000 jqljtqlqzxuaefocsciudgbydpbnnfwjwgnbjfjvexdzkwvsbsmeufcizfgkspkhhgyekohrvhsldhzgdxmplkbfsagrlkbqmj jqljtqlqzxuaefocsciudgbydpbnnfwjwgnbjfjvexdzkwvsbsmeufcizfgkspkhhgyekohrvhsldhzgdxmplkbfsagrlkbqmjep jqljtqlqzxuaefocsciudgbydpbnnfwjwgnbjfjvexdzkwvsbsmeufcizfgkspkhhgyekohrvhsldhzgdxmplkbfsagrlkb...
output:
98
result:
ok single line: '98'
Test #24:
score: 0
Accepted
time: 25ms
memory: 3980kb
input:
1000 trihnlkabreeeggdarjwdpaajpzcpkfmopufsmbvduwuubfgzrqinikqyyflrqsdacffdxolqybnecgpmfea kniwnbunrdniufzxummhqztjmlitjtxddbreeeggdarjwdpaajpzcpkfmopufsmbvduwuubfgzrqinikhxbntkmnlesvwro qceghuswkjdvbnsytabreeeggdarjwdpaajpzcpkfmopufsmbvduwuubfgzrqinikjahbbdtjisxbexdae hrqrnpzcsmpcwuuxiwcvlymgbreeegg...
output:
47
result:
ok single line: '47'
Test #25:
score: 0
Accepted
time: 17ms
memory: 3836kb
input:
1000 izcepeahpfvbpizxvizigqstmlyhvdovbfkwbbbeliuhspggyuubiejzpl qwfpizxvizigqstmlyhvdovbfkwbbbeliuhspggyuubienndxphjnkoriejvwpvsjuivwatbgtkboewjtnyebrzekqz ciyxpvjwcxavdjwnakidpizxvizigqstmlyhvdovbfkwbbbeliuhspggyuubienftbbkuvyxglsyxhpbryyol thrwafstfkodjssezcaxatztbpnafxylaeaknwpizxvizigqstmlyhvdov...
output:
42
result:
ok single line: '42'
Test #26:
score: 0
Accepted
time: 7ms
memory: 3660kb
input:
1000 sutgsgeefcgillagronpeweuudntztpnaymrnwtutvxnrfb suewlagronpeweuudntztpnaymnrgfsefwngjdkjfqmmklejwkdomfkdptwkpuglxlzo xxmujiikmeycmwqrjurcohetyequbbnkyaheluiuiapkfjtwblagronpeweuudntztpnaymifoombxheuhmruvuanhcylc ohqlbknuajmhmcyivbxkmzfkewytjwlhenismzrberldrfjeajneioklagronpeweuudntztpnaymxqbbxy...
output:
22
result:
ok single line: '22'
Test #27:
score: 0
Accepted
time: 21ms
memory: 4024kb
input:
459 adhcqfpjbvwovgpqiohpiddoafketeigmyokvajpzyopyvykkaraamqyepcrmpjjconyjptinjcnxwpwdtjuapioszumhsp wzoymgutvajxjmideadhcqfpjbvwovgpqiohpiddoafketeigmyokvajpzyopyvykkaraamqyepcrmpjjconyjaomzb uenadhcqfpjbvwovgpqiohpiddoafketeigmyokvajpzyopyvykkaraamqyepcrmpjjconyjk tldbcpadhcqfpjbvwovgpqiohpiddoafke...
output:
69
result:
ok single line: '69'
Test #28:
score: 0
Accepted
time: 7ms
memory: 3804kb
input:
278 tecxrkcbhbbfvstuadyutkbosknuvjsuookgtxhmfwdiqdrceelzrjdddfqtsqhmfxqhdofas yxrkcbhbbfvstuadyutkbosknuvjsuookgtxhmfwdiqdrceelzrjdddfqtsqhm cyhkubvcpfdhtudmmgwchlxrkcbhbbfvstuadyutkbosknuvjsuookgtxhmfwdiqdrceelzrjdddfqtsqhmaoeswqsg bxthnfxrkcbhbbfvstuadyutkbosknuvjsuookgtxhmfwdiqdrceelzrjdddfqtsqhm...
output:
61
result:
ok single line: '61'
Test #29:
score: 0
Accepted
time: 20ms
memory: 3908kb
input:
436 dtgnfwibspuzmfctdkxlnikadbxlhpyhiygkmfyfumfqeqswdlecexmhkyfpzrhimojewzywckxygx sfhfwibspuzmfctdkxlnikadbxlhpyhiygkmfyfumfqeqswdlecexmhkyfpzrhimojewzywckxydrtaat rywefwibspuzmfctdkxlnikadbxlhpyhiygkmfyfumfqeqswdlecexmhkyfpzrhimojewzywckxyqk acabvgviaufwibspuzmfctdkxlnikadbxlhpyhiygkmfyfumfqeqswdl...
output:
72
result:
ok single line: '72'
Test #30:
score: 0
Accepted
time: 15ms
memory: 4028kb
input:
341 coxocpjepugebqdblmcekmaoqjzneqvvfewsluykpkjiyewnsrnfdymrncwigzbsxgpfvsoqhghqkplphmhuorixxu rbvktaucpjepugebqdblmcekmaoqjzneqvvfewsluykpkjiyewnsrnfdymrncwigzbsxgpfvsoqhghqkplphmhum yfvbszxtcpjepugebqdblmcekmaoqjzneqvvfewsluykpkjiyewnsrnfdymrncwigzbsxgpfvsoqhghqkplphmhunaxu ucpjepugebqdblmcekmaoqj...
output:
80
result:
ok single line: '80'
Test #31:
score: 0
Accepted
time: 15ms
memory: 3736kb
input:
694 ztsvrzwdseyobxxuuwuwbvxxkbhuaanyjviyvqwwcyhxvwhbxlpxnnzp pmzzcjbdhmhzlhnjermtxfxbrlkgarzwdseyobxxuuwuwbvxxkbhuaanyjviyvqwwcyhxvwhnnv uxkuebuupsqficfipjzhesqhkrzwdseyobxxuuwuwbvxxkbhuaanyjviyvqwwcyhxvwhbfpleitnrhqmhy rzwdseyobxxuuwuwbvxxkbhuaanyjviyvqwwcyhxvwhdzfecbubqgma orsrquojuwypdxbzlvzuwxmb...
output:
43
result:
ok single line: '43'
Test #32:
score: 0
Accepted
time: 7ms
memory: 3732kb
input:
179 jramcrgrrylvflbeydxvftdrnpcrjiunakzryukfkhfixzfsfvcvtbvlpuvjkmecoqxkxga ykrylvflbeydxvftdrnpcrjiunakzryukfkhfixzfsfvcvtbvlpuvjkmecoqxkyrmmuvwmritjiyimnoaibbfenob kqujkirylvflbeydxvftdrnpcrjiunakzryukfkhfixzfsfvcvtbvlpuvjkmecoqxkulwgm ugjrylvflbeydxvftdrnpcrjiunakzryukfkhfixzfsfvcvtbvlpuvjkmecoqx...
output:
60
result:
ok single line: '60'
Test #33:
score: 0
Accepted
time: 9ms
memory: 3776kb
input:
197 vvoutwzaqzbcweiihssjnrgckkirxbuzqxxkprnyyilwumhciyqovwxaqujnqgfpfhkkzeqzirt cvvoutwzaqzbcweiihssjnrgckkirxbuzqxxkprnyyilwumhciyqovwxaqujnqgfpfhkkzeqzqhnkxcowkur gsxpcvvoutwzaqzbcweiihssjnrgckkirxbuzqxxkprnyyilwumhciyqovwxaqujnqgfpfhkkzeqzfbos tucqobwdvvoutwzaqzbcweiihssjnrgckkirxbuzqxxkprnyyilwu...
output:
72
result:
ok single line: '72'
Test #34:
score: 0
Accepted
time: 6ms
memory: 3812kb
input:
706 dnhdragtrkgixiamaxvrwchzqmiefklukjiprqvlmohmwkxezfjnyvzffsvcmhucifcnknsp pvwothmohmwkxezfjnyvzffsvcmhucsauqyvwsvrxsfdpvakgtkapx kpsxdqmohmwkxezfjnyvzffsvcmhucyivlwxfeoohuyicdvlgx krqomrnisbqjmohmwkxezfjnyvzffsvcmhucydtjsbsaqygowufgbhrbomectjnmqtiydel mohmwkxezfjnyvzffsvcmhuczmdvv nkjjomohmwkxezf...
output:
24
result:
ok single line: '24'
Test #35:
score: 0
Accepted
time: 2ms
memory: 3520kb
input:
163 vsracfvrsqihueplohgqonkkqtoxaknvqn ktuhwhhwjwdwszcewbmtqzrbpfctjgtopygrdrdyawysracfvrsqihueplohgqonkkqtoxakxczhahfzzvfjxzzhpt zzqiptbiellgugpphqmqdfvzwrddxsqkmdxtdkucpqyhrcsracfvrsqihueplohgqonkkqtoxakyaecmxiibncw nobrsracfvrsqihueplohgqonkkqtoxakivmwqkxntifpyekvoydxdtyopwjycpuusu zjhgtolggsracf...
output:
29
result:
ok single line: '29'
Test #36:
score: 0
Accepted
time: 18ms
memory: 3712kb
input:
594 fxgecyyqospgpyshlhcmzjlbxynzpkxbzzvxqnxkblskiqfgmprmnlufa ftdbpweevbxgecyyqospgpyshlhcmzjlbxynzpkxbzzvxqnxkblskiqfgmprmnlcsweefw zudzjwobzyzajrihmxgofslfofxxndaxgecyyqospgpyshlhcmzjlbxynzpkxbzzvxqnxkblskiqfgmprmnlcmyqisyadolwn zemkxgecyyqospgpyshlhcmzjlbxynzpkxbzzvxqnxkblskiqfgmprmnljnppqzmt jiz...
output:
53
result:
ok single line: '53'