QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#437627#7708. Rikka with XORxiaowuc1AC ✓121ms3672kbC++17168.9kb2024-06-09 14:17:542024-06-09 14:17:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3604kb

input:

3
3 2
7 5
654321 123456

output:

6
5040
1230647278

result:

ok 3 number(s): "6 5040 1230647278"

Test #2:

score: 0
Accepted
time: 121ms
memory: 3672kb

input:

20
667144597 616359815
699804588 611193378
739486857 661506815
661779337 585080180
957263733 829085971
934825680 813222663
806544392 533383430
775224639 569837029
747555415 500162484
889383096 657370546
745364298 641076715
607446703 551802468
590490821 572218629
840118223 535505618
820772696 5402693...

output:

1339997131
115875323
118024830
1479012327
776737197
1111284901
67543231
630719933
1141450631
35331730
1432153008
484035608
911568152
81845018
1443778244
710040764
1434804142
362767626
1283025004
1385992323

result:

ok 20 numbers