QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#483602#7364. 回文HuangHanSheng0 343ms86652kbC++201.2kb2024-07-18 20:10:402024-07-18 20:10:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 24396kb

input:

kmojliclywcyevunhgfnumdzvncnmzbkxjsrkzlyguvjwqmyamvwvidqvfcwnkoolupcrjhynrnlmncqwntqaqtnwqcnmlnrnyhjrcpulooknwcfvqdivwvmaymqwjvugylzkrsmlabbmjltopjasklgawfdbosdlmwahaygutogtvoenkxddmehwokwybkpireouiqqlsfbuqslxjlusnwkzgadxtagewjlchtcezugeguzecthcljwegatxdagzkwnsuljxlsqwlkpvoajknflirxpqcxmyhcgimr
293
...

output:

101
101
101
101
3
2
101
3
3
3
63
3
1
63
3
63
3
1
63
101
3
63
101
1
101
101
3
101
101
101
63
63
2
3
3
1
63
1
1
3
2
63
63
63
101
101
2
63
63
101
101
101
63
2
101
101
3
101
1
63
3
63
101
1
2
63
101
2
3
101
63
3
101
101
63
3
101
63
101
3
3
101
101
101
1
63
63
63
63
101
1
3
3
2
3
101
1
101
1
63
3
63
1
1
...

result:

wrong answer 2nd lines differ - expected: '75', found: '101'

Test #2:

score: 0
Wrong Answer
time: 0ms
memory: 24452kb

input:

vesjaxxsumewkbahmdfohuzggavsskdplrjqgonwnvtqhqdvxwdvbbvdwxtostthmmzqckepyglcysblxcbcxlbsyclgylyqtthedcqvuoghiyfekmaycoiiumirusuzosmaijqpgrwgcnxtojzyxpnjzyzjnpxyzjotxncgwrgpqjiamsozusurimuiiocyamkefyihgouvpxqdkybihtpmfqfzlwzylmtpgzvzhcrygruvzztttbofobtttzzvurgyrchzvzgptmlyzwlzfqfmpthibykdqxpegpbglnzk...

output:

87
101
101
101
101
101
101
101
87
101
3
21
101
21
101
101
87
101
87
87
101
87
101
101
101
101
21
101
101
101
3
101
101
101
10
101
101
21
101
101
87
1
3
21
101
21
101
21
3
1
101
10
101
21
101
21
101
2
87
101
21
101
21
10
101
101
101
101
1
10
101
3
101
2
101
101
101
101
3
1
3
101
3
87
3
101
101
1
21
1...

result:

wrong answer 1st lines differ - expected: '81', found: '87'

Test #3:

score: 0
Wrong Answer
time: 3ms
memory: 32704kb

input:

anuahqplebjsacgumhxqolpgrxqcqzlhxrdthilfysevwdukoaksysixdggqzfjifopilugpdlrihgriaedgcjljuzdyqnyplpovdlvsitjcizogkcjkipzwnbdugpkkcghcpcioksqbnvfeggpzdfcxddppanaqnjdrtczcurvgdhnhuuxmktusuykwqrpjgauznlzcgxahiumnbeendsvdoflmuqaylnmsxgfdelfljnvlkeftwsvqhrxpnyjfwohdomcrqcxhvfvksfkjaihqiksfwdlopmwyhagelhju...

output:

5
1272
1272
669
5
5
1666
5
1666
1666
1666
5
1666
1666
1666
4
1272
1272
1272
1666
3
5
3
669
5
1666
3
1666
1666
4
1666
5
1666
3
1272
1666
1666
1272
1666
1272
1666
1272
669
1666
1272
1666
4
1666
5
1272
1666
1272
5
1666
1666
5
3
1666
1666
1666
1666
1666
1272
5
4
1666
1272
1666
5
1272
3
5
1666
3
1666
127...

result:

wrong answer 3rd lines differ - expected: '594', found: '1272'

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 32620kb

input:

mfvckuykhckfuqmontrmfcfttxsqnaenocsvdxafpwkpftcwtqwgtsihvaquaudwebxmdijlcrenvivcwbwccmjyxmgmuhdkesgmkcbasghbbwlutayipathsvawcdkkmbdkdiurfsytgjasgsrebgtyjlclkycanipjqlpvxtusmetaxpkwvgilcqnspilinqanxofgxjwqzphraildqdewozyndxbekdknrvbdjgwwvulxfdaqpsziqmrtvlzcabcnouwilynyrbzktbfsfaepmyfjbwuuhvxihiyjicox...

output:

3
1665
1665
218
1665
3
698
1665
5
1665
698
698
625
1665
698
625
698
3
3
1665
4
3
1665
1665
1665
1665
698
625
1665
5
698
5
3
698
625
698
1665
698
698
698
3
698
698
1665
1665
625
1665
1665
698
625
698
1665
1665
5
1665
3
1665
625
625
1665
698
3
625
5
218
698
1665
698
625
625
3
625
698
3
698
698
1665
16...

result:

wrong answer 2nd lines differ - expected: '1193', found: '1665'

Test #5:

score: 0
Wrong Answer
time: 3ms
memory: 32660kb

input:

piliegnejflgljiidtifmgpcwttkfqexweatzcfecoyuyzpyayapbnenfvjbimyuttkjimtuzpoyhfugdivlxyebblrvgkwowzftkjxjopepbcdkcrioyjjscqnvycmaicuijcdkzizgtyskrkgyflmfvtntfnuikjqyblajyhygopbgpmxruwkkkuqszuuxhorfzsyzgpnxcuifrlvieeeavsrrgthetamjemxekupmclxitasqoqrokhtvomrjlksomhagdxyarqqoqhzuiqlhinhizujhkziqnabxnguz...

output:

4
96
1667
3
1667
1
791
791
1667
3
3
1667
96
3
4
1667
791
4
1667
1667
1667
1667
791
791
791
1667
791
1667
1667
1667
791
182
1667
1667
1667
1667
5
291
96
1667
791
3
1667
4
1667
1667
1667
1667
1667
1667
96
1667
1667
791
291
291
182
791
1667
96
182
791
1667
1667
1667
291
1667
1667
1667
1667
1
1667
791
2...

result:

wrong answer 9th lines differ - expected: '603', found: '1667'

Test #6:

score: 0
Wrong Answer
time: 0ms
memory: 32664kb

input:

syucmgkigdlpevdxsshewqirqqcdljqjgaugkvzplmidhvwxeuhuzmzscczopnaviqlgnavpezpquyupilccvjsqfxjmpcsefwerqlgfitezkaffvdwlyhilzflbjecsikzvyecgpjkucqukkrauolgzffotznjxmbvcmsuzrwstehxgqzygfjfybzmyuoxvshelxlpzfxwalgxzlwvhsbaikzsgjkzvzjmlbhgubzcunksleqdgulmysfjashpwjymspmtoxiwaiimcbdqbbudlwbptrusyumtszzwbpmgg...

output:

495
495
3
7
741
741
1541
1541
495
741
1541
1541
7
5
741
5
741
1541
741
741
495
1541
495
741
1541
1541
741
741
1541
741
1541
1541
1541
1541
1541
495
1541
4
495
4
741
4
741
741
4
1541
7
1541
741
1541
4
1541
741
741
741
7
1541
7
5
1541
7
7
741
741
741
1541
4
7
495
741
741
1541
495
741
3
1541
4
3
4
741
...

result:

wrong answer 11th lines differ - expected: '1231', found: '1541'

Test #7:

score: 0
Wrong Answer
time: 8ms
memory: 41576kb

input:

acfojkhxkvgskemxswoddjrxylgurlpfkpkhssmaqavonpjkhozprsffoslcluvabbpmynaucitshgbfrhilbxuyvdeilculqepksnsosdruqnzkrismdmpypuwigcwmlrynryysiazxaikbsvsxhwobtxuriupwxfmotimszqrfqqcfcukzmghijkeibpndndbodgzpuzqyznrjpzykhzmgrcxhexbsjmanfybqvojzbwpyttmrneejcpdncuzcjdmgxevqmbltpkotcywnfglumjpldxytuaahbgdcnges...

output:

16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
16665
...

result:

wrong answer 1st lines differ - expected: '5769', found: '16665'

Test #8:

score: 0
Wrong Answer
time: 18ms
memory: 41396kb

input:

aaxvxlcltrlilgqvklenrxdcqzouiizataquwymdxtkzyenpdefayzmwugrysrxpwznxpesvcglwqokoajclkeiadelfupalmwhpceexzuzethlcuidgwekhrzvacntvtfmlqptdszlphlewmmwzwcdmjwpefntdlcdrrhejjhakjpkglpbyooqkdhkzrswpmlseuqobyzrquhtdqlbfegkolncwaqoyxrmelvysykpsschwcghzecwneoklalscjqgxoqilbisabofjebktbbzomfupjqcupolpowbtazlq...

output:

12041
12041
5
7
12041
12041
12041
5
12041
16665
12041
5
9
12041
16665
16665
5
12041
16665
16665
16665
7
16665
16665
5
3
7
16665
7
16665
16665
16665
12041
12041
5
5
16665
12041
12041
16665
12041
16665
16665
2954
16665
16665
16665
16665
12041
2954
12041
16665
2954
12041
16665
5
16665
16665
16665
7
295...

result:

wrong answer 1st lines differ - expected: '3297', found: '12041'

Test #9:

score: 0
Wrong Answer
time: 17ms
memory: 41360kb

input:

bydjourdrgeaxhanforissxtcbtoqpcslsmsuipplgpyitlspqplflboqptqnahqwzchrjhifexlgnmbsehwkwjzojfwvhmmuatwkozdvqwxcorhmhirdgzkztmzegneseslmxuuoifnakuwsycrcgkzpnspyvvfrcbutiknycrvsqgglsvritrrmilxhhrtclxzslysblwsimexxkodgizphdapogypdudlssdispudgxhnfidsyivbvgamsujzzelovuilauyzmstgpgqipmhnbqskffrjjfnzhotbnlzk...

output:

16665
5
12693
6
16665
7
12693
12693
6
6
16665
16665
6
12693
4786
12693
12693
12693
12693
12693
6
16665
16665
12693
16665
7
16665
16665
12693
7
7
12693
12693
12693
4786
4786
12693
16665
4786
16665
12693
16665
16665
6
4786
12693
16665
12693
7
5
12693
16665
12693
6
4786
16665
12693
5
6
16665
12693
1666...

result:

wrong answer 1st lines differ - expected: '10655', found: '16665'

Test #10:

score: 0
Wrong Answer
time: 17ms
memory: 41416kb

input:

hsfcfbhlqerzkkwsyslalaslnahwpqqhkflavreluedfhcprzyfaipqyzaupdypfannefsdhimxnxoxbaqfktuqcgkjhskocyzeyyvbimybpixxgygccyqjcysqsylrhqrblfqrvheoolimkvqejywdjeuzbhhqdafuybfkarmacprqkqadbrfsrehhthtginqqhwdukdzjfrtgyepxmrnpmrokehpzxtnbigekjlvwkeofqrayiodxshtdbiisdyrboacqktisjtdkfuzmuzrmhgdqewukdcufjrqtskxjk...

output:

16664
8341
978
16664
16664
152
978
978
16664
7
16664
8341
5
152
16664
7
16664
5
978
152
16664
16664
5
8341
16664
5
16664
978
5
16664
16664
978
8341
16664
5
5
5
16664
152
16664
5
16664
16664
7
5
16664
16664
16664
8341
5
8341
978
8341
16664
7
8341
4
5
16664
16664
4
5
16664
5
16664
8341
152
16664
16664...

result:

wrong answer 1st lines differ - expected: '10616', found: '16664'

Test #11:

score: 0
Wrong Answer
time: 17ms
memory: 45304kb

input:

uqgylihdxuhtoedyzgzsnwjfaxxdrbadecbkxhbwvzztggrcvorlbgdobvnlswamdnehzepqdqeajrhfwkavapzqvbivztnsqtqnjxjejpgokdyyfxrsuxblzpftwbdkxvrczcerpjadlkqxieyslegpwgwuvzixavdbbtzcvuvnyjpjqvzfzcdnypukljhlspedodczoamlqokdljxdwtonfavmwxemmwicpfbcxfriiqymwizfjghzskzsxyzpluyjwvwyjjzjdddhoflaizakyjzmjmucfxrowqmiiiqp...

output:

17758
6
6
3
17758
17758
3
5
17758
6686
5
17758
5
17758
17758
17758
6686
17758
17758
17758
5
5
17758
6686
5
17758
17758
17758
17758
17758
6686
5
17758
17758
17758
17758
5
5
5
17758
17758
4
5
17758
6686
17758
17758
5
17758
5
5
17758
5
5
17758
5
5
5
6686
17758
5
17758
17758
6686
5
17758
17758
6686
5
5
...

result:

wrong answer 1st lines differ - expected: '5370', found: '17758'

Test #12:

score: 0
Wrong Answer
time: 19ms
memory: 41424kb

input:

senpfhuxjnjduvkehgshpecrhtmrsjqaeosajatkkrtdwodqmsfmvoxyipcqjddyxbrroqpkhujinzclqudwqhehxvbpsdqnxzhkjoipcqkqddetmordwjpsuqzoerllzmzbwuorrbmwbzjoycmpeyotbhcwdxygeeqgxbwcqlrywyruatywmmvgckvaowvjpeegwhzarnabqopxpkbtrkhyqauthnzkdmmfdxxfawxygtuzmmbdzhxhstkgtjgzaprjstmssfpczmyyqryfxycoimzobpbihnnmsocfegkc...

output:

5
7
24996
24996
5
7
7
5
7
5
24996
24996
24996
5
5
24996
7
4
5
24996
7
5
24996
5
5
7
5
24996
24996
5
7
24996
24996
7
24996
5
7
7
7
7
7
24996
5
24996
24996
5
24996
24996
5
7
24996
24996
24996
5
7
7
6
7
24996
7
6
7
5
7
24996
7
5
24996
24996
5
24996
5
7
7
7
24996
5
5
5
24996
5
24996
24996
5
5
7
24996
5
...

result:

wrong answer 3rd lines differ - expected: '8596', found: '24996'

Test #13:

score: 0
Wrong Answer
time: 14ms
memory: 41412kb

input:

nwsiebavjnlnjifvaylnhfzybafysczcmrzplqehpgkavzaddjbltazcotufbdzxetxrwhshlxgoqdvbwrkeqkhsbujudbcjhahwkbluvnvdvdxnwocvdkjilwcziqdivzvdlbfwzdenmqlienvoqveubtdoszndqutfsguooniomoyblyxteyhpwommzvnumpwmzqafvfgmnokjwwnkdofoikamvlrxrfkvmrxmsrknmojvaumkrsrlgnpriipbnsbqvglegyhjdefpjngwtbknuivlyftjlsxgffnsjvib...

output:

5
2502
5830
2502
10753
2502
10753
759
10753
5830
2502
2502
10753
2502
10753
10753
10753
10753
759
7
10753
5
5830
5830
7
5
5830
10753
7
5830
2502
5
2502
10753
10753
10753
2502
10753
10753
2502
10753
10753
5
10753
2502
5
10753
10753
5
2
5830
5
10753
10753
10753
5
7
5830
10753
10753
10753
5
2502
5830
1...

result:

wrong answer 9th lines differ - expected: '9947', found: '10753'

Test #14:

score: 0
Wrong Answer
time: 17ms
memory: 41240kb

input:

uoqxubtwiuvrweemnisntsggdzuataqgegovblspuctnszgscxridxjlgibfbtdetqrhkfzzvbkbufeisycazjudefsyvgraenfjynszhdjtzidepogsvltustouvnviyrdsncubobnlkruzcsxsabwayfldakyslzfprixpbgpzlfneokxjtnmgtwipkddbmmeahowhndbnuymxryrkgolobkenugcpyfcelqpnpwwphnufpjcxwjyxlcsutfogqlepvyfcjohvhqivjefwtkwubjgtlsabqnpdpixgnrvw...

output:

5
5
2088
5
5271
3087
104
6266
3087
3087
6266
5
3087
3087
3087
5271
3087
3087
5
5
5
4
5
3087
3087
6266
5271
5271
3087
5271
5271
104
5
104
5271
5
3087
3087
5
3087
7
3087
6266
2088
104
3087
3087
5271
5
5271
6266
5
5
5271
3087
3087
3087
5271
5
4
5271
5
5271
3087
3087
5271
4
3087
5271
4
104
2088
5271
308...

result:

wrong answer 3rd lines differ - expected: '1762', found: '2088'

Test #15:

score: 0
Wrong Answer
time: 307ms
memory: 86416kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaakkeiauuzvxheynhjstrlmdjuyadlukikotjzhqkfxlyabcfwkdyqkgsrkeqcpingbwuhlvlqcwrnotohwdcteumlrepoccfdfznrdltjbjkjzqkdiglyqxwbukxvlivpbhdtzdxsiaqyoqsykspneectkcrlupikmvnqqtbvicmjgwzonahfpytentjnwqunjlpalkwpcskwlqcarzzlktnklalcmplozonpmfpysuyqviwslsfhnzcbplzhyhs...

output:

32697
112675
131991
131991
112675
131991
112675
68004
32697
32697
112675
112675
131991
112675
32697
6
131991
112675
131991
131991
112675
112675
68004
112675
131991
32697
131991
9
68004
7
7
68004
68004
112675
68004
131991
131991
131991
131991
7
6
131991
131991
112675
112675
112675
32697
32697
112675
...

result:

wrong answer 1st lines differ - expected: '6415', found: '32697'

Test #16:

score: 0
Wrong Answer
time: 343ms
memory: 84292kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaytvhrajhtxhttnnlmeqimzzsjscccivbyritmiznnvgksdehrtmiwacnbixkxnjytuzimzssogvxaemlcpkdtimzfxqreghsbnsqpkwcfepbisgnmispquhyzeqapvpjdfjelclvezqsdjxndhuwxloghiljexxirocvfcpgrilpxspmzjkvhyifkptzguxohzyyjuxqahbblayluiktzmrsgrhthdypkigvjqngfuwkchfepqfvhyuyunfrhluvcdyhvbpktdfoyy...

output:

1180
166667
166667
91053
166667
166667
26966
166667
91053
166667
5
7
166667
7
26966
166667
91053
91053
91053
9451
9451
8
8
166667
91053
7
9451
26966
166667
8
26966
91053
26966
8
166667
91053
26966
166667
166667
166667
91053
26966
7
7
166667
91053
91053
166667
7
166667
9451
7
7
26966
26966
166667
118...

result:

wrong answer 3rd lines differ - expected: '37261', found: '166667'

Test #17:

score: 0
Wrong Answer
time: 294ms
memory: 84428kb

input:

aaaazkvsgnabokhungreeglngwrtynocgzehwlqgkiiiqdloxdezdcdbhriugyqfqhhaproemijuhymtacrerxmwdzzputjzucaygdskcwpvxdvuafnpfttarbksdowftsieylqlmpcvyrvhtdorechiduhgxkicaicbrcploefuuzmucorweejnscoepoijalirxzxrxbkksvuimwavmhxhhwndfkwocguaojzgtpxwtjmlrkbpbwvjtcilnyjjkmymvwaylhgmobosditopkpmmsawqlricifwcnwvxqac...

output:

7
108750
4
108750
108750
1744
108750
157572
157572
157572
108750
157572
97702
97702
97702
108750
108750
7
1744
7
97702
108750
8
157572
6
157572
97702
97702
97702
97702
108750
1744
97702
108750
9
157572
108750
8
8
157572
8
157572
97702
97702
108750
157572
7
157572
157572
157572
108750
108750
108750
9...

result:

wrong answer 5th lines differ - expected: '25988', found: '108750'

Test #18:

score: 0
Wrong Answer
time: 279ms
memory: 86388kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaebhhrvkfkvewwgcwzupqagltrbvbpsmrzhqqrzpphdatdovtqcskottjjaijncilycjoqvhjbvaorrczwefumogmkipliwrjgjcmcksniyjpowbzpezlmkkiivhadolbahzjlelwurmdhfktndmcqndtbimufcsilykijsbmlqrxlfkimnzghkxgtqgznzgcgmrkygvzbdizbraghkncugpszudehqyuhkywdzdbitixbamapwgzbzknwypluul...

output:

166667
166667
7
166667
7
166667
166667
166667
166667
166667
166667
166667
4533
166667
166667
166667
7
7
166667
166667
166667
44129
166667
6
166667
166667
166667
7
7
166667
44129
7
44129
166667
166667
5
7
7
166667
7
4533
166667
7
7
7
166667
166667
7
166667
166667
166667
166667
166667
7
44129
7
166667...

result:

wrong answer 4th lines differ - expected: '34769', found: '166667'

Test #19:

score: 0
Wrong Answer
time: 287ms
memory: 86340kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalvgbspddxrtwkccxskalmiaahvuaaevjkzxskmumnesqsjfqlgkanmmdinkbiabnrmvocequrnicjqzdatwwdzpgyoumwymnsjnklvbjrswytpqejlgxcmoaqqvpihlghjrsyvcoxhvprkfusafjsdrgopnfufkoopyqetppxuciqcwjxldgtwcthdepfcxdvrrhxcxdmsjnukgpdgkknnwzwmtavzvynhsapujivwmjlsaybeuaftemhzpmuexavqmhvpfou...

output:

166667
132222
132222
8
132222
132222
30545
166667
30545
166667
166667
166667
166667
132222
30545
6
166667
30545
166667
132222
166667
7
166667
166667
132222
166667
7
132222
5
5
132222
166667
132222
132222
6
166667
166667
166667
132222
30545
8
7
132222
8
166667
30545
30545
166667
30545
166667
166667
7...

result:

wrong answer 1st lines differ - expected: '21967', found: '166667'

Test #20:

score: 0
Wrong Answer
time: 301ms
memory: 86652kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaairvzomrstpfklvpyiboqxtnqbjazhstswwhmrdgbzsstvkrtencmmeqjfclkztnlsrrghcfrfrivxfrrpnwehishsneqljlmqwkugitnkuotmncikpvxzvgxcvdppekdbomsvqupgpjdcowzqfoxcivupvucxstsjlrlylvlzmqcxtqdwztpxmzetubgxllckejlkwjytrvdwmimdencuffcdifrllsoihxnbhoyy...

output:

7
5
7
133041
8623
55837
133041
55837
7
55837
69943
133041
5
133041
133041
133041
133041
133041
133041
7
133041
55837
44822
1541
133041
133041
133041
6
1541
133041
133041
5
55837
133041
6
133041
1541
55837
44822
133041
55837
133041
133041
133041
1541
1541
1541
9
69943
133041
133041
133041
6
133041
7
...

result:

wrong answer 5th lines differ - expected: '6061', found: '8623'