QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#704681#6129. Magic Multiplicationucup-team1132WA 39ms6376kbC++142.1kb2024-11-02 20:36:212024-11-02 20:36:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
2 2
8101215
3 4
100000001000
2 2
80101215
3 4
1000000010000

output:

23 45
101 1000
Impossible
Impossible

result:

ok 4 lines

Test #2:

score: -100
Wrong Answer
time: 39ms
memory: 6376kb

input:

1025
11 18
1461416814188088414188241035153540203545200202010354520510254921495628496328028281449632871435351535402035452002020103545205102500000000000000000000000000004000000063276372366381360363618638136918454921495628496328028281449632871435492149562849632802828144963287143514614168141880884141882...

output:

Impossible
15254015 1
Impossible
597523997017 7693
Impossible
Impossible
59331138450754 554
Impossible
980565699171 84748728972992
Impossible
Impossible
9458752764004792353 8717596993614
Impossible
941952596 49242258343771276739
Impossible
64053045751 41394875
2035 145998266186
26838140969 1
Impossi...

result:

wrong answer 2nd lines differ - expected: '3583 5', found: '15254015 1'