QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#182384#6214. 无界单词legenc6y50 1ms3840kbC++141.3kb2023-09-17 20:31:502023-09-17 20:31:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 10
Accepted
time: 1ms
memory: 3628kb

input:

5
10 207
10 119
9 131
10 160
10 94

output:

284
bbabaabaaa
284
ababaababb
148
bbbabbaba
284
babaabbbaa
284
aabbbabbab

result:

ok 10 lines

Test #2:

score: 10
Accepted
time: 0ms
memory: 3668kb

input:

5
20 204400
18 29002
18 37602
19 124074
19 16406

output:

281076
bbabaababbabababaaba
70340
ababaaaabbbbbbabbb
70340
baabbbabbbbaaabaaa
140680
bbbabbbababaabaabba
140680
aaabaaabaabaaaabbab

result:

ok 10 lines

Test #3:

score: 10
Accepted
time: 1ms
memory: 3712kb

input:

5
24 1756170
24 2954809
22 1028107
22 731494
22 632867

output:

4493828
abaababababbbaababaaabbb
4493828
bbaaaababaabbabababababa
1123736
bbbbaabbbabbbbbbaaabba
1123736
bbaaaaaabbabbaabbaaaba
1123736
bababaaaaababbaabbaaaa

result:

ok 10 lines

Test #4:

score: 10
Accepted
time: 0ms
memory: 3716kb

input:

5
27 34554458
26 7853662
28 34685327
27 5811209
26 7970283

output:

35946160
bbbbbababaabaabbbababbbaaba
17973080
abababbbbbabbbbaaabbbbbabb
71887896
abbababbbaaabaaaabbababbbbbb
35946160
aaabbaaaabbbbbbabbabaabbbbb
17973080
ababbaabbbbaabbaaaababbbbb

result:

ok 10 lines

Test #5:

score: 10
Accepted
time: 0ms
memory: 3616kb

input:

5
31 347955619
30 64115137
30 244757467
32 630000809
32 1026272586

output:

575085472
babbabaaaaabbbbaaabbaabaabbaaaa
287542736
aabaaabbabbababbbabbabaaababab
287542736
bbbabaabbababaabbababbbaaababa
1150153322
babaaabbabaaabaaaabbbaababbbbbaa
1150153322
bbbbaaaaabaaabaaabaaaabbbbabbaaa

result:

ok 10 lines

Test #6:

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

input:

5
56 11418652155951284
57 35048628878793291
56 10547885091516138
56 14334231976623064
56 6626671462199870

output:

19296075493006760
aabbbbaabaaaaaaaaabbbbabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
38592150986013520
aababbbaaaaaaaaaaabbbababbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
19296075493006760
aabbbbaabaaaaaaaaabbbbabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
19296075493006760
aabbbbaabaaaaaaaaabbbbabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

result:

wrong answer 2nd lines differ - expected: 'babbaaaaaabaabaabbbbaabbababbabbaabbaaaabaaabbbbbabbbaaa', found: 'aabbbbaabaaaaaaaaabbbbabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'

Test #7:

score: 0
Wrong Answer
time: 1ms
memory: 3840kb

input:

5
63 2464980184316343454
63 990137394745283831
61 87621639090453995
62 579608892494436922
62 840155758238615836

output:

2469897655053527104
bababbbbbbbbbbbaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2469897655053527104
bababbbbbbbbbbbaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
617474414050924512
abbabbbbabbaaaaaaaaaabbaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
1234948827526763552
bbbbbbaaabbbbbabaaaaabbbaaaaabb...

result:

wrong answer 2nd lines differ - expected: 'bbbbbbbbbabbbabaaaaababbaabbbabababaababaababaababababbbbbbabba', found: 'bababbbbbbbbbbbaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'

Test #8:

score: 0
Wrong Answer
time: 1ms
memory: 3616kb

input:

5
63 560160613792005859
63 1571998298795922483
62 1104343094220952078
62 45077520445927852
62 276453343206805242

output:

2469897655053527104
bababbbbbbbbbbbaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2469897655053527104
bababbbbbbbbbbbaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
1234948827526763552
bbbbbbaaabbbbbabaaaaabbbaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
1234948827526763552
bbbbbbaaabbbbbabaaaaabbbaaaaa...

result:

wrong answer 2nd lines differ - expected: 'aabaabaaaabaaaabaaaabbbbaabbabaabbbbaabbababbbabaabaababbbbabab', found: 'bababbbbbbbbbbbaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'

Test #9:

score: 0
Wrong Answer
time: 1ms
memory: 3560kb

input:

5
62 487743272421550773
63 1106478100175603425
62 515718557008469245
64 2171702614481334094
63 678044720533572037

output:

1234948827526763552
bbbbbbaaabbbbbabaaaaabbbaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2469897655053527104
bababbbbbbbbbbbaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
1234948827526763552
bbbbbbaaabbbbbabaaaaabbbaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
4939795308956900886
abbabbbbaabbbaaaaaabaaaabbaaab...

result:

wrong answer 2nd lines differ - expected: 'abaababbbbbaaaabbbabababbbbbbbabbaaabbbaaabbbabbaaabbaabbbabbb', found: 'bbbbbbaaabbbbbabaaaaabbbaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'

Test #10:

score: 0
Wrong Answer
time: 1ms
memory: 3632kb

input:

5
62 636652242833777812
62 835043011717080893
64 2611442093333570988
63 991429299066879745
64 1989144564346741540

output:

1234948827526763552
bbbbbbaaabbbbbabaaaaabbbaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
1234948827526763552
bbbbbbaaabbbbbabaaaaabbbaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
4939795308956900886
abbabbbbaabbbaaaaaabaaaabbaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2469897655053527104
bababbbbbbbbbbbaaaaaaaaaaaaaa...

result:

wrong answer 2nd lines differ - expected: 'baabaabbababbbbbaabaaaabaabaababbababaaababababbbbaaabbabbbaaa', found: 'bbbbbbaaabbbbbabaaaaabbbaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'