QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#483599#7364. 回文ZhangYiDe0 332ms86808kbC++201.2kb2024-07-18 20:08:292024-07-18 20:08:29

详细

Test #1:

score: 0
Wrong Answer
time: 4ms
memory: 24456kb

input:

kmojliclywcyevunhgfnumdzvncnmzbkxjsrkzlyguvjwqmyamvwvidqvfcwnkoolupcrjhynrnlmncqwntqaqtnwqcnmlnrnyhjrcpulooknwcfvqdivwvmaymqwjvugylzkrsmlabbmjltopjasklgawfdbosdlmwahaygutogtvoenkxddmehwokwybkpireouiqqlsfbuqslxjlusnwkzgadxtagewjlchtcezugeguzecthcljwegatxdagzkwnsuljxlsqwlkpvoajknflirxpqcxmyhcgimr
293
...

output:

101
76
84
64
3
2
101
3
3
3
39
3
1
42
3
23
2
1
63
45
1
63
31
1
101
84
3
42
14
63
63
3
2
2
3
1
1
1
1
3
2
63
23
15
16
101
2
31
63
72
101
50
37
2
101
101
3
71
1
63
3
31
85
1
2
63
101
2
3
3
63
3
64
66
63
3
101
63
42
3
3
3
74
7
1
25
63
37
30
18
1
3
3
2
3
101
1
101
1
3
3
63
1
1
31
78
101
90
32
41
101
15
60...

result:

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

Test #2:

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

input:

vesjaxxsumewkbahmdfohuzggavsskdplrjqgonwnvtqhqdvxwdvbbvdwxtostthmmzqckepyglcysblxcbcxlbsyclgylyqtthedcqvuoghiyfekmaycoiiumirusuzosmaijqpgrwgcnxtojzyxpnjzyzjnpxyzjotxncgwrgpqjiamsozusurimuiiocyamkefyihgouvpxqdkybihtpmfqfzlwzylmtpgzvzhcrygruvzztttbofobtttzzvurgyrchzvzgptmlyzwlzfqfmpthibykdqxpegpbglnzk...

output:

82
101
71
50
41
59
101
82
87
101
3
21
101
21
101
101
43
101
59
63
24
19
13
101
25
101
21
75
101
28
3
56
101
27
10
24
87
21
24
39
67
1
3
21
101
21
101
4
3
1
55
10
51
8
101
21
36
2
61
41
16
78
21
10
101
90
101
101
1
5
101
3
101
2
101
101
101
48
3
1
3
101
3
59
3
24
101
1
21
101
101
101
1
19
101
1
3
101...

result:

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

Test #3:

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

input:

anuahqplebjsacgumhxqolpgrxqcqzlhxrdthilfysevwdukoaksysixdggqzfjifopilugpdlrihgriaedgcjljuzdyqnyplpovdlvsitjcizogkcjkipzwnbdugpkkcghcpcioksqbnvfeggpzdfcxddppanaqnjdrtczcurvgdhnhuuxmktusuykwqrpjgauznlzcgxahiumnbeendsvdoflmuqaylnmsxgfdelfljnvlkeftwsvqhrxpnyjfwohdomcrqcxhvfvksfkjaihqiksfwdlopmwyhagelhju...

output:

5
1272
594
118
5
5
1666
5
1666
956
1666
5
1438
1666
1666
4
544
258
928
1666
3
5
3
669
5
1666
3
796
1666
4
1666
5
1666
3
1272
1666
746
1272
1666
863
436
590
290
1666
764
577
4
1506
5
1272
1327
638
5
1666
1272
5
3
1666
1064
606
165
752
1272
5
4
1666
805
1666
5
1272
3
5
1666
3
1666
81
5
4
5
1272
298
16...

result:

wrong answer 4th lines differ - expected: '117', found: '118'

Test #4:

score: 0
Wrong Answer
time: 4ms
memory: 34720kb

input:

mfvckuykhckfuqmontrmfcfttxsqnaenocsvdxafpwkpftcwtqwgtsihvaquaudwebxmdijlcrenvivcwbwccmjyxmgmuhdkesgmkcbasghbbwlutayipathsvawcdkkmbdkdiurfsytgjasgsrebgtyjlclkycanipjqlpvxtusmetaxpkwvgilcqnspilinqanxofgxjwqzphraildqdewozyndxbekdknrvbdjgwwvulxfdaqpsziqmrtvlzcabcnouwilynyrbzktbfsfaepmyfjbwuuhvxihiyjicox...

output:

3
1194
698
129
857
3
698
904
5
1665
698
698
94
390
698
625
698
3
3
1665
4
3
1240
435
766
1665
76
537
1665
5
698
5
3
178
625
698
394
698
698
698
3
106
317
1034
651
625
714
1665
698
402
698
1306
1031
5
1098
3
1352
625
119
1394
698
3
625
5
195
698
698
698
322
625
3
421
698
3
698
698
748
1665
886
5
27
6...

result:

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

Test #5:

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

input:

piliegnejflgljiidtifmgpcwttkfqexweatzcfecoyuyzpyayapbnenfvjbimyuttkjimtuzpoyhfugdivlxyebblrvgkwowzftkjxjopepbcdkcrioyjjscqnvycmaicuijcdkzizgtyskrkgyflmfvtntfnuikjqyblajyhygopbgpmxruwkkkuqszuuxhorfzsyzgpnxcuifrlvieeeavsrrgthetamjemxekupmclxitasqoqrokhtvomrjlksomhagdxyarqqoqhzuiqlhinhizujhkziqnabxnguz...

output:

4
96
1667
3
1667
1
791
791
603
3
3
1407
96
3
4
1667
584
4
319
758
1667
1319
791
563
725
1667
791
901
1667
1221
791
182
1667
1667
1667
1563
5
291
96
180
119
3
1046
4
1250
845
1667
1667
1667
753
96
10
1667
182
291
95
182
791
206
96
182
263
1667
1667
527
291
1445
1667
1667
1667
1
1667
791
282
291
1667
...

result:

wrong answer 17th lines differ - expected: '583', found: '584'

Test #6:

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

input:

syucmgkigdlpevdxsshewqirqqcdljqjgaugkvzplmidhvwxeuhuzmzscczopnaviqlgnavpezpquyupilccvjsqfxjmpcsefwerqlgfitezkaffvdwlyhilzflbjecsikzvyecgpjkucqukkrauolgzffotznjxmbvcmsuzrwstehxgqzygfjfybzmyuoxvshelxlpzfxwalgxzlwvhsbaikzsgjkzvzjmlbhgubzcunksleqdgulmysfjashpwjymspmtoxiwaiimcbdqbbudlwbptrusyumtszzwbpmgg...

output:

495
495
3
7
741
741
1541
1541
495
741
1231
188
7
5
741
5
741
1221
741
552
495
1541
495
741
1541
1051
741
495
1229
741
495
1541
1082
689
1541
278
1259
4
386
4
495
4
495
741
4
805
7
1093
548
741
4
843
741
741
741
7
1403
7
5
451
7
7
495
741
741
372
4
7
400
741
741
281
495
495
3
1541
4
3
4
741
578
4
3
1...

result:

wrong answer 12th lines differ - expected: '187', found: '188'

Test #7:

score: 0
Wrong Answer
time: 11ms
memory: 43468kb

input:

acfojkhxkvgskemxswoddjrxylgurlpfkpkhssmaqavonpjkhozprsffoslcluvabbpmynaucitshgbfrhilbxuyvdeilculqepksnsosdruqnzkrismdmpypuwigcwmlrynryysiazxaikbsvsxhwobtxuriupwxfmotimszqrfqqcfcukzmghijkeibpndndbodgzpuzqyznrjpzykhzmgrcxhexbsjmanfybqvojzbwpyttmrneejcpdncuzcjdmgxevqmbltpkotcywnfglumjpldxytuaahbgdcnges...

output:

5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
5769
...

result:

wrong answer 5001st lines differ - expected: '7037', found: '7038'

Test #8:

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

input:

aaxvxlcltrlilgqvklenrxdcqzouiizataquwymdxtkzyenpdefayzmwugrysrxpwznxpesvcglwqokoajclkeiadelfupalmwhpceexzuzethlcuidgwekhrzvacntvtfmlqptdszlphlewmmwzwcdmjwpefntdlcdrrhejjhakjpkglpbyooqkdhkzrswpmlseuqobyzrquhtdqlbfegkolncwaqoyxrmelvysykpsschwcghzecwneoklalscjqgxoqilbisabofjebktbbzomfupjqcupolpowbtazlq...

output:

3298
12041
5
7
11677
1438
12041
5
88
14910
139
5
9
12041
15139
1157
5
12041
14914
12744
16665
7
16665
12041
5
3
7
5401
7
16665
16665
12041
8959
12041
5
5
11760
12041
7314
16665
12041
16665
4496
2954
11106
16665
7855
8512
12041
2954
1352
14140
2954
12041
16665
5
6634
4972
13327
7
2954
16473
5
16665
1...

result:

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

Test #9:

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

input:

bydjourdrgeaxhanforissxtcbtoqpcslsmsuipplgpyitlspqplflboqptqnahqwzchrjhifexlgnmbsehwkwjzojfwvhmmuatwkozdvqwxcorhmhirdgzkztmzegneseslmxuuoifnakuwsycrcgkzpnspyvvfrcbutiknycrvsqgglsvritrrmilxhhrtclxzslysblwsimexxkodgizphdapogypdudlssdispudgxhnfidsyivbvgamsujzzelovuilauyzmstgpgqipmhnbqskffrjjfnzhotbnlzk...

output:

10656
5
9091
6
16665
7
9296
12693
6
6
16665
16665
6
5010
2039
751
12693
12693
2187
7341
6
16665
8432
12693
3688
7
12693
16665
7472
7
7
9287
12693
12693
4786
4786
12693
16665
4786
16665
3186
16665
10382
6
4786
12693
12280
2475
7
5
12693
3923
12693
6
4786
888
5425
5
6
16665
12693
11704
4682
4786
16665...

result:

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

Test #10:

score: 0
Wrong Answer
time: 16ms
memory: 45488kb

input:

hsfcfbhlqerzkkwsyslalaslnahwpqqhkflavreluedfhcprzyfaipqyzaupdypfannefsdhimxnxoxbaqfktuqcgkjhskocyzeyyvbimybpixxgygccyqjcysqsylrhqrblfqrvheoolimkvqejywdjeuzbhhqdafuybfkarmacprqkqadbrfsrehhthtginqqhwdukdzjfrtgyepxmrnpmrokehpzxtnbigekjlvwkeofqrayiodxshtdbiisdyrboacqktisjtdkfuzmuzrmhgdqewukdcufjrqtskxjk...

output:

10616
8341
978
13844
6131
152
978
978
7182
7
9921
8061
5
152
12438
7
11894
5
978
152
5510
6385
5
7171
16664
5
1356
978
5
16664
13082
978
7867
6078
5
5
5
16664
152
11517
5
11356
16664
7
5
14120
13922
2550
2263
5
3863
978
8341
14293
7
1146
4
5
6340
8341
4
5
13622
5
16664
8341
152
16664
3186
978
5
5
11...

result:

wrong answer 5th lines differ - expected: '6130', found: '6131'

Test #11:

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

input:

uqgylihdxuhtoedyzgzsnwjfaxxdrbadecbkxhbwvzztggrcvorlbgdobvnlswamdnehzepqdqeajrhfwkavapzqvbivztnsqtqnjxjejpgokdyyfxrsuxblzpftwbdkxvrczcerpjadlkqxieyslegpwgwuvzixavdbbtzcvuvnyjpjqvzfzcdnypukljhlspedodczoamlqokdljxdwtonfavmwxemmwicpfbcxfriiqymwizfjghzskzsxyzpluyjwvwyjjzjdddhoflaizakyjzmjmucfxrowqmiiiqp...

output:

5370
6
6
3
10494
14090
3
5
9804
2462
5
17758
5
17758
17758
17758
6686
12531
17758
16620
5
5
13894
301
5
17758
17758
17758
12582
15747
6686
5
1634
17758
1263
12772
5
5
5
978
17758
4
5
17758
492
12486
17758
5
7247
5
5
17758
5
5
1786
5
5
5
2529
17758
5
2058
5725
389
5
840
17758
6686
5
5
5
17758
17758
1...

result:

wrong answer 18th lines differ - expected: '12530', found: '12531'

Test #12:

score: 0
Wrong Answer
time: 12ms
memory: 43360kb

input:

senpfhuxjnjduvkehgshpecrhtmrsjqaeosajatkkrtdwodqmsfmvoxyipcqjddyxbrroqpkhujinzclqudwqhehxvbpsdqnxzhkjoipcqkqddetmordwjpsuqzoerllzmzbwuorrbmwbzjoycmpeyotbhcwdxygeeqgxbwcqlrywyruatywmmvgckvaowvjpeegwhzarnabqopxpkbtrkhyqauthnzkdmmfdxxfawxygtuzmmbdzhxhstkgtjgzaprjstmssfpczmyyqryfxycoimzobpbihnnmsocfegkc...

output:

5
7
8596
12104
5
7
7
5
7
5
13534
7569
2650
5
5
22963
7
4
5
8623
7
5
11326
5
5
7
5
3643
16368
5
7
7634
15868
7
10216
5
7
7
7
7
7
11442
5
384
23390
5
22920
24996
5
7
6482
8237
11560
5
7
7
6
7
6443
7
6
7
5
7
4280
7
5
684
13156
5
3002
5
7
7
7
14064
5
5
5
5419
5
14087
2900
5
5
7
7114
5
19688
8098
5
5
192...

result:

wrong answer 12th lines differ - expected: '7568', found: '7569'

Test #13:

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

input:

nwsiebavjnlnjifvaylnhfzybafysczcmrzplqehpgkavzaddjbltazcotufbdzxetxrwhshlxgoqdvbwrkeqkhsbujudbcjhahwkbluvnvdvdxnwocvdkjilwcziqdivzvdlbfwzdenmqlienvoqveubtdoszndqutfsguooniomoyblyxteyhpwommzvnumpwmzqafvfgmnokjwwnkdofoikamvlrxrfkvmrxmsrknmojvaumkrsrlgnpriipbnsbqvglegyhjdefpjngwtbknuivlyftjlsxgffnsjvib...

output:

5
2502
5830
2502
10753
2502
10753
759
9948
3991
2502
2502
4988
2502
10753
3724
10753
3489
759
7
10753
5
5830
5830
7
5
5830
7518
7
5830
2502
5
2429
10753
10753
10753
2502
10753
10753
2502
833
7300
5
6372
2502
5
10753
10753
5
2
5830
5
10753
6892
10753
5
7
5830
10753
10753
5482
5
2502
3015
8620
2502
25...

result:

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

Test #14:

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

input:

uoqxubtwiuvrweemnisntsggdzuataqgegovblspuctnszgscxridxjlgibfbtdetqrhkfzzvbkbufeisycazjudefsyvgraenfjynszhdjtzidepogsvltustouvnviyrdsncubobnlkruzcsxsabwayfldakyslzfprixpbgpzlfneokxjtnmgtwipkddbmmeahowhndbnuymxryrkgolobkenugcpyfcelqpnpwwphnufpjcxwjyxlcsutfogqlepvyfcjohvhqivjefwtkwubjgtlsabqnpdpixgnrvw...

output:

5
5
1762
5
5271
1429
104
6190
3087
3087
6146
5
3087
3087
3087
4421
3087
1613
5
5
5
4
5
3087
3087
6266
5271
5271
3087
5271
3257
104
5
104
1365
5
3087
3087
5
3087
7
3087
4404
2088
17
3087
3087
3087
5
5271
6124
5
5
5271
3087
3087
3087
5271
5
4
5271
5
5271
3087
3087
4670
4
3087
1739
4
104
2088
3721
3087...

result:

wrong answer 45th lines differ - expected: '16', found: '17'

Test #15:

score: 0
Wrong Answer
time: 315ms
memory: 86768kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaakkeiauuzvxheynhjstrlmdjuyadlukikotjzhqkfxlyabcfwkdyqkgsrkeqcpingbwuhlvlqcwrnotohwdcteumlrepoccfdfznrdltjbjkjzqkdiglyqxwbukxvlivpbhdtzdxsiaqyoqsykspneectkcrlupikmvnqqtbvicmjgwzonahfpytentjnwqunjlpalkwpcskwlqcarzzlktnklalcmplozonpmfpysuyqviwslsfhnzcbplzhyhs...

output:

6416
87366
63379
101788
32697
51104
112675
68004
32697
15239
112675
112675
113202
112675
32697
6
131991
112675
131991
131991
112675
81804
16620
112675
7921
32697
44195
9
23037
7
7
32292
68004
112675
68004
131991
131991
78275
131991
7
6
112675
53844
112675
112675
112675
32697
32697
89750
22392
131991...

result:

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

Test #16:

score: 0
Wrong Answer
time: 325ms
memory: 85180kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaytvhrajhtxhttnnlmeqimzzsjscccivbyritmiznnvgksdehrtmiwacnbixkxnjytuzimzssogvxaemlcpkdtimzfxqreghsbnsqpkwcfepbisgnmispquhyzeqapvpjdfjelclvezqsdjxndhuwxloghiljexxirocvfcpgrilpxspmzjkvhyifkptzguxohzyyjuxqahbblayluiktzmrsgrhthdypkigvjqngfuwkchfepqfvhyuyunfrhluvcdyhvbpktdfoyy...

output:

1180
166667
37261
91053
161108
60811
26966
166667
91053
134751
5
7
92134
7
25522
5888
91053
91053
91053
9451
1809
8
8
138552
91053
7
9451
26966
109628
8
8170
91053
26966
8
139412
91053
26966
112670
26978
95390
4481
12706
7
7
166667
91053
91053
141688
7
136180
9451
7
7
15758
239
19320
1180
46693
1666...

result:

wrong answer 5th lines differ - expected: '161107', found: '161108'

Test #17:

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

input:

aaaazkvsgnabokhungreeglngwrtynocgzehwlqgkiiiqdloxdezdcdbhriugyqfqhhaproemijuhymtacrerxmwdzzputjzucaygdskcwpvxdvuafnpfttarbksdowftsieylqlmpcvyrvhtdorechiduhgxkicaicbrcploefuuzmucorweejnscoepoijalirxzxrxbkksvuimwavmhxhhwndfkwocguaojzgtpxwtjmlrkbpbwvjtcilnyjjkmymvwaylhgmobosditopkpmmsawqlricifwcnwvxqac...

output:

7
108750
4
108750
25989
1744
45891
157572
102272
24333
29726
46691
84933
97702
69076
10620
24875
7
1744
7
88258
108750
8
12189
6
157572
65204
63344
20777
63341
81077
1744
33465
108750
9
118778
4650
8
8
133528
8
132560
66665
13254
108750
157572
7
137210
140694
117626
79789
77819
105379
97702
7
97702
...

result:

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

Test #18:

score: 0
Wrong Answer
time: 332ms
memory: 86396kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaebhhrvkfkvewwgcwzupqagltrbvbpsmrzhqqrzpphdatdovtqcskottjjaijncilycjoqvhjbvaorrczwefumogmkipliwrjgjcmcksniyjpowbzpezlmkkiivhadolbahzjlelwurmdhfktndmcqndtbimufcsilykijsbmlqrxlfkimnzghkxgtqgznzgcgmrkygvzbdizbraghkncugpszudehqyuhkywdzdbitixbamapwgzbzknwypluul...

output:

166667
166667
7
34769
7
166667
24819
76850
166667
46450
48106
108562
4533
86703
46253
149298
7
7
68288
27049
166667
44129
166667
6
112092
64756
166667
7
7
162109
44129
7
32987
146665
166667
5
7
7
142778
7
4533
47364
7
7
7
163334
161804
7
52178
166667
73872
119293
166667
7
35456
7
22302
7
30599
67517...

result:

wrong answer 8th lines differ - expected: '76849', found: '76850'

Test #19:

score: 0
Wrong Answer
time: 314ms
memory: 86480kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalvgbspddxrtwkccxskalmiaahvuaaevjkzxskmumnesqsjfqlgkanmmdinkbiabnrmvocequrnicjqzdatwwdzpgyoumwymnsjnklvbjrswytpqejlgxcmoaqqvpihlghjrsyvcoxhvprkfusafjsdrgopnfufkoopyqetppxuciqcwjxldgtwcthdepfcxdvrrhxcxdmsjnukgpdgkknnwzwmtavzvynhsapujivwmjlsaybeuaftemhzpmuexavqmhvpfou...

output:

21968
106291
111779
8
132222
34381
30545
138937
30545
47966
61242
165948
63750
99509
13662
6
166667
30545
166667
6315
158618
7
151113
166667
132222
132222
7
96227
5
5
30545
132456
30978
132222
6
166667
28295
132542
86887
30545
8
7
46688
8
166667
30545
30545
113061
30545
166667
13698
7
7
132222
42147...

result:

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

Test #20:

score: 0
Wrong Answer
time: 324ms
memory: 86808kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaairvzomrstpfklvpyiboqxtnqbjazhstswwhmrdgbzsstvkrtencmmeqjfclkztnlsrrghcfrfrivxfrrpnwehishsneqljlmqwkugitnkuotmncikpvxzvgxcvdppekdbomsvqupgpjdcowzqfoxcivupvucxstsjlrlylvlzmqcxtqdwztpxmzetubgxllckejlkwjytrvdwmimdencuffcdifrllsoihxnbhoyy...

output:

7
5
7
133041
6062
55837
133041
55837
7
55837
61641
53010
5
30553
133041
133041
115562
133041
132637
7
133041
55837
44822
1541
133041
133041
1551
6
1541
64618
33701
5
4013
132119
6
133041
1541
44822
44822
36611
55837
133041
90091
133041
1541
1541
1541
9
2512
133041
133041
83000
6
133041
7
55837
5
133...

result:

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