QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#483335#7364. 回文HuangHanSheng0 676ms215888kbC++201.2kb2024-07-18 15:53:032024-07-18 15:53:04

詳細信息

Test #1:

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

input:

kmojliclywcyevunhgfnumdzvncnmzbkxjsrkzlyguvjwqmyamvwvidqvfcwnkoolupcrjhynrnlmncqwntqaqtnwqcnmlnrnyhjrcpulooknwcfvqdivwvmaymqwjvugylzkrsmlabbmjltopjasklgawfdbosdlmwahaygutogtvoenkxddmehwokwybkpireouiqqlsfbuqslxjlusnwkzgadxtagewjlchtcezugeguzecthcljwegatxdagzkwnsuljxlsqwlkpvoajknflirxpqcxmyhcgimr
293
...

output:

250
161
243
233
14
9
276
30
92
70
159
44
3
41
84
162
56
46
169
54
12
194
42
12
171
247
94
130
42
225
157
138
50
24
57
7
7
8
10
83
11
191
143
107
82
147
11
68
167
186
262
159
154
13
163
194
90
112
2
165
3
114
96
41
17
118
207
24
23
135
109
57
130
124
103
83
140
184
78
68
37
40
204
33
5
29
103
141
48
...

result:

wrong answer 1st lines differ - expected: '101', found: '250'

Test #2:

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

input:

vesjaxxsumewkbahmdfohuzggavsskdplrjqgonwnvtqhqdvxwdvbbvdwxtostthmmzqckepyglcysblxcbcxlbsyclgylyqtthedcqvuoghiyfekmaycoiiumirusuzosmaijqpgrwgcnxtojzyxpnjzyzjnpxyzjotxncgwrgpqjiamsozusurimuiiocyamkefyihgouvpxqdkybihtpmfqfzlwzylmtpgzvzhcrygruvzztttbofobtttzzvurgyrchzvzgptmlyzwlzfqfmpthibykdqxpegpbglnzk...

output:

81
174
113
98
141
77
190
99
169
193
74
76
241
87
131
172
81
171
72
75
80
55
54
230
75
181
71
143
174
32
9
135
278
138
58
66
90
96
37
80
137
15
79
82
186
102
133
64
25
3
163
58
142
16
190
84
74
15
120
59
28
114
41
23
171
138
193
168
17
26
121
22
213
14
222
191
138
110
37
1
45
205
7
115
34
58
187
6
30...

result:

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

Test #3:

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

input:

anuahqplebjsacgumhxqolpgrxqcqzlhxrdthilfysevwdukoaksysixdggqzfjifopilugpdlrihgriaedgcjljuzdyqnyplpovdlvsitjcizogkcjkipzwnbdugpkkcghcpcioksqbnvfeggpzdfcxddppanaqnjdrtczcurvgdhnhuuxmktusuykwqrpjgauznlzcgxahiumnbeendsvdoflmuqaylnmsxgfdelfljnvlkeftwsvqhrxpnyjfwohdomcrqcxhvfvksfkjaihqiksfwdlopmwyhagelhju...

output:

824
2035
960
156
1097
158
4474
611
4537
2519
3972
116
2035
2970
2958
20
709
448
2032
2449
152
1288
182
1680
1010
4370
31
884
4034
126
2106
1150
4426
268
2030
4148
2314
2782
2615
1757
1835
672
346
3433
1882
1172
930
2152
256
2852
1719
1462
272
3309
2898
692
143
3725
1268
1433
175
1704
2232
662
1104
2...

result:

wrong answer 1st lines differ - expected: '5', found: '824'

Test #4:

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

input:

mfvckuykhckfuqmontrmfcfttxsqnaenocsvdxafpwkpftcwtqwgtsihvaquaudwebxmdijlcrenvivcwbwccmjyxmgmuhdkesgmkcbasghbbwlutayipathsvawcdkkmbdkdiurfsytgjasgsrebgtyjlclkycanipjqlpvxtusmetaxpkwvgilcqnspilinqanxofgxjwqzphraildqdewozyndxbekdknrvbdjgwwvulxfdaqpsziqmrtvlzcabcnouwilynyrbzktbfsfaepmyfjbwuuhvxihiyjicox...

output:

316
3576
3114
651
1457
408
2161
3005
662
2181
1709
3410
762
1373
882
1782
1035
127
56
3094
404
631
2277
847
2824
4306
710
941
4036
410
3192
217
554
712
796
2242
1531
1862
1834
1762
350
521
744
3911
1255
2013
808
3851
1107
1280
1965
1515
1615
261
2869
157
2000
1787
701
4215
3489
139
1409
261
272
2319...

result:

wrong answer 1st lines differ - expected: '3', found: '316'

Test #5:

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

input:

piliegnejflgljiidtifmgpcwttkfqexweatzcfecoyuyzpyayapbnenfvjbimyuttkjimtuzpoyhfugdivlxyebblrvgkwowzftkjxjopepbcdkcrioyjjscqnvycmaicuijcdkzizgtyskrkgyflmfvtntfnuikjqyblajyhygopbgpmxruwkkkuqszuuxhorfzsyzgpnxcuifrlvieeeavsrrgthetamjemxekupmclxitasqoqrokhtvomrjlksomhagdxyarqqoqhzuiqlhinhizujhkziqnabxnguz...

output:

224
1024
3715
23
2907
8
1004
1157
1491
586
581
1787
240
390
875
2443
727
558
966
2070
2922
1997
2394
766
830
2973
1226
1224
2696
2006
2737
732
2854
3075
3980
2674
361
1806
1145
1447
175
618
2044
450
3198
2321
2748
3633
4073
2578
1453
846
3382
977
1378
130
400
2588
340
576
929
1385
3633
2429
1448
127...

result:

wrong answer 1st lines differ - expected: '4', found: '224'

Test #6:

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

input:

syucmgkigdlpevdxsshewqirqqcdljqjgaugkvzplmidhvwxeuhuzmzscczopnaviqlgnavpezpquyupilccvjsqfxjmpcsefwerqlgfitezkaffvdwlyhilzflbjecsikzvyecgpjkucqukkrauolgzffotznjxmbvcmsuzrwstehxgqzygfjfybzmyuoxvshelxlpzfxwalgxzlwvhsbaikzsgjkzvzjmlbhgubzcunksleqdgulmysfjashpwjymspmtoxiwaiimcbdqbbudlwbptrusyumtszzwbpmgg...

output:

1596
1007
123
1472
3125
2066
2899
3636
1879
2605
3871
1023
1074
344
1749
157
2894
2037
2619
3068
974
4852
2197
3669
3225
3750
2746
2957
2700
2997
2990
3680
1123
1922
4028
2212
2489
596
1954
698
3071
329
2572
1999
448
3992
1212
1338
1280
3898
617
843
3657
2887
3848
1825
3293
745
19
2411
619
1456
2306...

result:

wrong answer 1st lines differ - expected: '495', found: '1596'

Test #7:

score: 0
Wrong Answer
time: 15ms
memory: 34012kb

input:

acfojkhxkvgskemxswoddjrxylgurlpfkpkhssmaqavonpjkhozprsffoslcluvabbpmynaucitshgbfrhilbxuyvdeilculqepksnsosdruqnzkrismdmpypuwigcwmlrynryysiazxaikbsvsxhwobtxuriupwxfmotimszqrfqqcfcukzmghijkeibpndndbodgzpuzqyznrjpzykhzmgrcxhexbsjmanfybqvojzbwpyttmrneejcpdncuzcjdmgxevqmbltpkotcywnfglumjpldxytuaahbgdcnges...

output:

8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
8439
...

result:

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

Test #8:

score: 0
Wrong Answer
time: 29ms
memory: 28644kb

input:

aaxvxlcltrlilgqvklenrxdcqzouiizataquwymdxtkzyenpdefayzmwugrysrxpwznxpesvcglwqokoajclkeiadelfupalmwhpceexzuzethlcuidgwekhrzvacntvtfmlqptdszlphlewmmwzwcdmjwpefntdlcdrrhejjhakjpkglpbyooqkdhkzrswpmlseuqobyzrquhtdqlbfegkolncwaqoyxrmelvysykpsschwcghzecwneoklalscjqgxoqilbisabofjebktbbzomfupjqcupolpowbtazlq...

output:

13510
26164
3849
6735
12063
14930
30390
687
6202
32142
16863
3763
7163
28940
20501
4569
7779
24389
25811
38877
28993
6285
19519
31528
2485
36
11096
7021
815
44319
35543
35944
16680
35750
6435
3024
19764
33690
7703
21826
25497
25088
14344
6683
12848
25827
9585
15561
20451
17143
2405
15375
10907
31608...

result:

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

Test #9:

score: 0
Wrong Answer
time: 30ms
memory: 29572kb

input:

bydjourdrgeaxhanforissxtcbtoqpcslsmsuipplgpyitlspqplflboqptqnahqwzchrjhifexlgnmbsehwkwjzojfwvhmmuatwkozdvqwxcorhmhirdgzkztmzegneseslmxuuoifnakuwsycrcgkzpnspyvvfrcbutiknycrvsqgglsvritrrmilxhhrtclxzslysblwsimexxkodgizphdapogypdudlssdispudgxhnfidsyivbvgamsujzzelovuilauyzmstgpgqipmhnbqskffrjjfnzhotbnlzk...

output:

29022
2760
19798
11033
38741
14515
19565
34196
6809
2099
25510
24485
7875
15325
8760
11249
19223
29405
2568
13553
1403
35868
17152
24417
19584
4121
40203
26945
18187
12024
10030
25850
33954
25837
11245
15052
18309
32133
13202
38018
3783
46611
26543
12438
10725
30381
17850
4330
15519
3692
27037
14710...

result:

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

Test #10:

score: 0
Wrong Answer
time: 33ms
memory: 31464kb

input:

hsfcfbhlqerzkkwsyslalaslnahwpqqhkflavreluedfhcprzyfaipqyzaupdypfannefsdhimxnxoxbaqfktuqcgkjhskocyzeyyvbimybpixxgygccyqjcysqsylrhqrblfqrvheoolimkvqejywdjeuzbhhqdafuybfkarmacprqkqadbrfsrehhthtginqqhwdukdzjfrtgyepxmrnpmrokehpzxtnbigekjlvwkeofqrayiodxshtdbiisdyrboacqktisjtdkfuzmuzrmhgdqewukdcufjrqtskxjk...

output:

29429
27087
10894
27313
6287
24606
14529
12843
33252
12275
11502
29904
2474
4609
26188
13166
18452
5329
8559
24546
11330
7365
989
26949
32220
2324
31325
23965
1557
23264
25617
16102
21839
14940
11201
1787
2137
20294
22580
15543
8034
15650
31492
12826
7888
37125
21999
28582
7429
4332
11975
7932
17227...

result:

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

Test #11:

score: 0
Wrong Answer
time: 30ms
memory: 30296kb

input:

uqgylihdxuhtoedyzgzsnwjfaxxdrbadecbkxhbwvzztggrcvorlbgdobvnlswamdnehzepqdqeajrhfwkavapzqvbivztnsqtqnjxjejpgokdyyfxrsuxblzpftwbdkxvrczcerpjadlkqxieyslegpwgwuvzixavdbbtzcvuvnyjpjqvzfzcdnypukljhlspedodczoamlqokdljxdwtonfavmwxemmwicpfbcxfriiqymwizfjghzskzsxyzpluyjwvwyjjzjdddhoflaizakyjzmjmucfxrowqmiiiqp...

output:

9574
3987
750
817
33773
29616
314
1912
18062
6147
8117
33382
10834
18771
41876
27805
24679
18798
34033
26769
2806
2361
34931
19266
4578
27689
32569
33515
22738
18727
15632
17302
20609
28118
19393
21866
1927
3890
2906
18149
27373
1528
5211
33404
5633
14971
39335
7522
17491
3806
11375
38718
7316
6622
...

result:

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

Test #12:

score: 0
Wrong Answer
time: 27ms
memory: 28540kb

input:

senpfhuxjnjduvkehgshpecrhtmrsjqaeosajatkkrtdwodqmsfmvoxyipcqjddyxbrroqpkhujinzclqudwqhehxvbpsdqnxzhkjoipcqkqddetmordwjpsuqzoerllzmzbwuorrbmwbzjoycmpeyotbhcwdxygeeqgxbwcqlrywyruatywmmvgckvaowvjpeegwhzarnabqopxpkbtrkhyqauthnzkdmmfdxxfawxygtuzmmbdzhxhstkgtjgzaprjstmssfpczmyyqryfxycoimzobpbihnnmsocfegkc...

output:

3183
20633
25813
41736
3002
20925
7514
10676
13933
763
13903
10347
22807
2751
9651
24413
11976
892
5392
13709
20715
6220
25507
7327
2645
20189
5810
15389
40298
9235
25097
12795
25052
21114
33483
1674
14888
18038
6407
17451
3602
32107
5580
26010
33891
4387
26876
25213
6429
27485
31102
16663
17740
154...

result:

wrong answer 1st lines differ - expected: '5', found: '3183'

Test #13:

score: 0
Wrong Answer
time: 31ms
memory: 31540kb

input:

nwsiebavjnlnjifvaylnhfzybafysczcmrzplqehpgkavzaddjbltazcotufbdzxetxrwhshlxgoqdvbwrkeqkhsbujudbcjhahwkbluvnvdvdxnwocvdkjilwcziqdivzvdlbfwzdenmqlienvoqveubtdoszndqutfsguooniomoyblyxteyhpwommzvnumpwmzqafvfgmnokjwwnkdofoikamvlrxrfkvmrxmsrknmojvaumkrsrlgnpriipbnsbqvglegyhjdefpjngwtbknuivlyftjlsxgffnsjvib...

output:

4777
23774
17008
13492
35222
12234
14670
10093
28446
5946
5159
9731
24724
9853
42258
30740
38198
7223
8311
12173
42813
2925
23073
25734
11773
1449
30913
38873
9135
35892
16411
3161
12954
19908
20139
13827
23269
25510
41898
25250
8347
23246
4625
14384
13872
3958
41919
40468
2949
13
16631
2975
38689
1...

result:

wrong answer 1st lines differ - expected: '5', found: '4777'

Test #14:

score: 0
Wrong Answer
time: 48ms
memory: 28364kb

input:

uoqxubtwiuvrweemnisntsggdzuataqgegovblspuctnszgscxridxjlgibfbtdetqrhkfzzvbkbufeisycazjudefsyvgraenfjynszhdjtzidepogsvltustouvnviyrdsncubobnlkruzcsxsabwayfldakyslzfprixpbgpzlfneokxjtnmgtwipkddbmmeahowhndbnuymxryrkgolobkenugcpyfcelqpnpwwphnufpjcxwjyxlcsutfogqlepvyfcjohvhqivjefwtkwubjgtlsabqnpdpixgnrvw...

output:

12024
4942
4368
4182
26627
2747
6528
28457
22231
13409
19835
2444
30042
17970
34465
34785
19103
4735
7235
9290
6545
941
3859
12987
23823
39582
45102
30589
31029
19307
5207
1980
12325
3311
12808
4809
21261
29128
4923
18280
4764
27995
34788
11428
13891
10421
13032
34491
2549
23803
13217
1739
1467
2973...

result:

wrong answer 1st lines differ - expected: '5', found: '12024'

Test #15:

score: 0
Wrong Answer
time: 671ms
memory: 215760kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaakkeiauuzvxheynhjstrlmdjuyadlukikotjzhqkfxlyabcfwkdyqkgsrkeqcpingbwuhlvlqcwrnotohwdcteumlrepoccfdfznrdltjbjkjzqkdiglyqxwbukxvlivpbhdtzdxsiaqyoqsykspneectkcrlupikmvnqqtbvicmjgwzonahfpytentjnwqunjlpalkwpcskwlqcarzzlktnklalcmplozonpmfpysuyqviwslsfhnzcbplzhyhs...

output:

37472
259293
185655
210636
181006
71930
310552
87331
70883
109853
229486
386646
166895
169360
98800
12515
151656
300565
306989
184558
263979
159605
37266
186344
83512
138624
112991
56629
122182
45205
16952
73257
124627
163671
96980
223982
196399
96743
151442
39991
12574
239964
168085
173637
395975
2...

result:

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

Test #16:

score: 0
Wrong Answer
time: 646ms
memory: 215820kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaytvhrajhtxhttnnlmeqimzzsjscccivbyritmiznnvgksdehrtmiwacnbixkxnjytuzimzssogvxaemlcpkdtimzfxqreghsbnsqpkwcfepbisgnmispquhyzeqapvpjdfjelclvezqsdjxndhuwxloghiljexxirocvfcpgrilpxspmzjkvhyifkptzguxohzyyjuxqahbblayluiktzmrsgrhthdypkigvjqngfuwkchfepqfvhyuyunfrhluvcdyhvbpktdfoyy...

output:

61712
247453
75461
281854
191568
79449
182028
220341
316622
153424
6602
3651
268991
14635
117193
31631
286551
279492
150991
84838
64691
22391
43452
178895
338168
80522
65350
180538
414489
8644
115525
251049
184904
63273
171415
322690
164046
345510
105881
169476
105220
140375
10657
32246
413721
23229...

result:

wrong answer 1st lines differ - expected: '1180', found: '61712'

Test #17:

score: 0
Wrong Answer
time: 661ms
memory: 215848kb

input:

aaaazkvsgnabokhungreeglngwrtynocgzehwlqgkiiiqdloxdezdcdbhriugyqfqhhaproemijuhymtacrerxmwdzzputjzucaygdskcwpvxdvuafnpfttarbksdowftsieylqlmpcvyrvhtdorechiduhgxkicaicbrcploefuuzmucorweejnscoepoijalirxzxrxbkksvuimwavmhxhhwndfkwocguaojzgtpxwtjmlrkbpbwvjtcilnyjjkmymvwaylhgmobosditopkpmmsawqlricifwcnwvxqac...

output:

72852
337072
1197
342415
90084
32531
48752
447297
150213
44665
31652
106678
183557
193494
139849
40659
172170
18130
86797
21008
180517
426278
54999
36582
7944
382954
193721
126523
91069
114897
98513
78073
117273
234564
64857
230052
36480
70070
37849
157480
75973
169545
159741
59469
313249
392646
367...

result:

wrong answer 1st lines differ - expected: '7', found: '72852'

Test #18:

score: 0
Wrong Answer
time: 632ms
memory: 215840kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaebhhrvkfkvewwgcwzupqagltrbvbpsmrzhqqrzpphdatdovtqcskottjjaijncilycjoqvhjbvaorrczwefumogmkipliwrjgjcmcksniyjpowbzpezlmkkiivhadolbahzjlelwurmdhfktndmcqndtbimufcsilykijsbmlqrxlfkimnzghkxgtqgznzgcgmrkygvzbdizbraghkncugpszudehqyuhkywdzdbitixbamapwgzbzknwypluul...

output:

241964
206703
60899
76588
100905
366608
201760
86535
246289
129207
109099
215333
61272
158044
188846
231679
54795
14066
221218
188794
264401
109014
209083
3699
231864
95116
361067
138525
32058
294595
111673
11736
55235
325997
211791
10567
129354
66950
305801
7135
53710
100513
45994
60007
77827
26441...

result:

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

Test #19:

score: 0
Wrong Answer
time: 648ms
memory: 215704kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalvgbspddxrtwkccxskalmiaahvuaaevjkzxskmumnesqsjfqlgkanmmdinkbiabnrmvocequrnicjqzdatwwdzpgyoumwymnsjnklvbjrswytpqejlgxcmoaqqvpihlghjrsyvcoxhvprkfusafjsdrgopnfufkoopyqetppxuciqcwjxldgtwcthdepfcxdvrrhxcxdmsjnukgpdgkknnwzwmtavzvynhsapujivwmjlsaybeuaftemhzpmuexavqmhvpfou...

output:

62610
214379
361802
83338
190201
183701
174773
145033
119566
110683
305986
259027
254852
190739
54986
39152
483375
119262
264021
66913
390162
35493
199863
390864
326088
408085
43063
113450
9074
9262
232332
329040
51998
153842
36497
235179
99865
363006
332882
205067
124399
73180
62149
93619
444129
11...

result:

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

Test #20:

score: 0
Wrong Answer
time: 676ms
memory: 215888kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaairvzomrstpfklvpyiboqxtnqbjazhstswwhmrdgbzsstvkrtencmmeqjfclkztnlsrrghcfrfrivxfrrpnwehishsneqljlmqwkugitnkuotmncikpvxzvgxcvdppekdbomsvqupgpjdcowzqfoxcivupvucxstsjlrlylvlzmqcxtqdwztpxmzetubgxllckejlkwjytrvdwmimdencuffcdifrllsoihxnbhoyy...

output:

93579
3643
78905
255097
56624
104901
306068
189678
31148
249796
78690
75672
9076
120923
425033
347954
259956
310419
259436
29350
314004
89236
123258
45641
388408
317912
119371
16572
121248
136647
80867
3541
39135
207873
50854
389825
127763
94639
94041
88915
158079
368405
152895
486841
112204
55274
9...

result:

wrong answer 1st lines differ - expected: '7', found: '93579'