QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#479164#6129. Magic Multiplicationucup-team968#RE 2ms8320kbC++2058.6kb2024-07-15 15:32:322024-07-15 15:32:32

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 8320kb

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
Runtime Error

input:

1025
11 18
1461416814188088414188241035153540203545200202010354520510254921495628496328028281449632871435351535402035452002020103545205102500000000000000000000000000004000000063276372366381360363618638136918454921495628496328028281449632871435492149562849632802828144963287143514614168141880884141882...

output:


result: