QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465538#6884. Number TableHuangHanShengAC ✓8ms3680kbC++172.1kb2024-07-07 00:49:512024-07-07 00:49:51

详细

Test #1:

score: 100
Accepted
time: 8ms
memory: 3680kb

input:

10
1 1
2 1
2 2
3 3
5 3
10 10
10 15
10 20
39 3912
40 4512

output:

0
2
36
8736
2876160
904592472
797736012
373557465
587036386
203956590

result:

ok 10 lines