QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#464132#6884. Number TableGuanYunchangAC ✓1ms3656kbC++233.0kb2024-07-05 20:34:262024-07-05 20:34:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3656kb

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