QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#549582#4951. Fun with StonesGuanYunchangAC ✓0ms3684kbC++203.8kb2024-09-06 17:55:202024-09-06 17:55:20

詳細信息

Test #1:

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

input:

3 3 4 4 5 5

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

4 4 8 8 12 12

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

1 10 1 10 1 10

output:

580000005

result:

ok single line: '580000005'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

5 15 2 9 35 42

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3660kb

input:

1 1000000000 1 1000000000 1 1000000000

output:

299894316

result:

ok single line: '299894316'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

1 2 1 3 2 2

output:

833333340

result:

ok single line: '833333340'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

1 4 4 5 6 8

output:

833333340

result:

ok single line: '833333340'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

1 9 1 13 9 9

output:

564102569

result:

ok single line: '564102569'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

4 12 8 18 12 13

output:

414141418

result:

ok single line: '414141418'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

4 7 17 21 7 21

output:

673333339

result:

ok single line: '673333339'

Test #11:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

2 61 3 60 10 93

output:

279638755

result:

ok single line: '279638755'

Test #12:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

810 999 256 351 6 979

output:

196098565

result:

ok single line: '196098565'

Test #13:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

3109 7253 2441 3890 525 9135

output:

43527070

result:

ok single line: '43527070'

Test #14:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

42812 73389 73306 93847 21663 66194

output:

610692328

result:

ok single line: '610692328'

Test #15:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

485877 648130 433229 433236 370556 554373

output:

1

result:

ok single line: '1'

Test #16:

score: 0
Accepted
time: 0ms
memory: 3660kb

input:

5044520 6504333 223662 8156181 5745189 6213525

output:

883444596

result:

ok single line: '883444596'

Test #17:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

37471110 72058075 9972235 10428464 7869118 43549024

output:

490426752

result:

ok single line: '490426752'

Test #18:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

96374951 246184385 444926463 483438974 275897159 398398745

output:

633889913

result:

ok single line: '633889913'

Test #19:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

7 88 24 25 65 88

output:

155741872

result:

ok single line: '155741872'

Test #20:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

69 72 40 64 89 90

output:

1

result:

ok single line: '1'

Test #21:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

19 83 11 82 1 15

output:

651452997

result:

ok single line: '651452997'

Test #22:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

79 95 52 64 60 60

output:

1

result:

ok single line: '1'

Test #23:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

48 85 89 91 22 74

output:

985104278

result:

ok single line: '985104278'

Test #24:

score: 0
Accepted
time: 0ms
memory: 3600kb

input:

45 87 39 87 41 79

output:

1

result:

ok single line: '1'

Test #25:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

7 41 14 28 74 95

output:

1

result:

ok single line: '1'

Test #26:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

26 89 45 52 22 86

output:

242307695

result:

ok single line: '242307695'

Test #27:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

30 82 35 48 14 26

output:

943396234

result:

ok single line: '943396234'

Test #28:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

42 69 80 89 55 70

output:

1

result:

ok single line: '1'

Test #29:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

183657317 788456724 67738060 251489322 715104415 879081833

output:

694577592

result:

ok single line: '694577592'

Test #30:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

51376686 338536649 195081223 358293325 181017581 860224794

output:

760169461

result:

ok single line: '760169461'

Test #31:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

190986221 361411112 596935424 975177845 313893500 675371663

output:

145742728

result:

ok single line: '145742728'

Test #32:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

190733803 564415702 373698485 922011732 455000347 762806423

output:

501682443

result:

ok single line: '501682443'

Test #33:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

617340692 983059625 608658415 972777698 140783644 985872599

output:

541639573

result:

ok single line: '541639573'