QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#77052#2492. Hash FunctionMinneapolisAC ✓1372ms3728kbC++201.7kb2023-02-13 00:45:472023-02-13 00:45:49

详细

Test #1:

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

input:

4 83

output:

13

result:

ok good solution

Test #2:

score: 0
Accepted
time: 3ms
memory: 3472kb

input:

10 497091

output:

153014

result:

ok good solution

Test #3:

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

input:

4 55

output:

73

result:

ok good solution

Test #4:

score: 0
Accepted
time: 73ms
memory: 3548kb

input:

15 444650548

output:

377677832

result:

ok good solution

Test #5:

score: 0
Accepted
time: 53ms
memory: 3524kb

input:

14 114355996

output:

119238393

result:

ok good solution

Test #6:

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

input:

16 0

output:

0

result:

ok good solution

Test #7:

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

input:

3 22

output:

8

result:

ok good solution

Test #8:

score: 0
Accepted
time: 2ms
memory: 3540kb

input:

8 8319

output:

15407

result:

ok good solution

Test #9:

score: 0
Accepted
time: 11ms
memory: 3540kb

input:

12 7629490

output:

14052612

result:

ok good solution

Test #10:

score: 0
Accepted
time: 2ms
memory: 3696kb

input:

2 2

output:

3

result:

ok good solution

Test #11:

score: 0
Accepted
time: 2ms
memory: 3580kb

input:

16 0

output:

0

result:

ok good solution

Test #12:

score: 0
Accepted
time: 2ms
memory: 3548kb

input:

16 0

output:

0

result:

ok good solution

Test #13:

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

input:

16 0

output:

0

result:

ok good solution

Test #14:

score: 0
Accepted
time: 3ms
memory: 3524kb

input:

11 1086647

output:

1875946

result:

ok good solution

Test #15:

score: 0
Accepted
time: 3ms
memory: 3552kb

input:

11 188671

output:

393405

result:

ok good solution

Test #16:

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

input:

11 2028522

output:

424106

result:

ok good solution

Test #17:

score: 0
Accepted
time: 32ms
memory: 3696kb

input:

13 23601796

output:

40518521

result:

ok good solution

Test #18:

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

input:

8 29405

output:

7325

result:

ok good solution

Test #19:

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

input:

7 2218

output:

3174

result:

ok good solution

Test #20:

score: 0
Accepted
time: 2ms
memory: 3616kb

input:

7 432

output:

662

result:

ok good solution

Test #21:

score: 0
Accepted
time: 3ms
memory: 3456kb

input:

11 899191

output:

1626482

result:

ok good solution

Test #22:

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

input:

5 494

output:

281

result:

ok good solution

Test #23:

score: 0
Accepted
time: 1ms
memory: 3480kb

input:

8 13862

output:

12212

result:

ok good solution

Test #24:

score: 0
Accepted
time: 3ms
memory: 3720kb

input:

11 899027

output:

1622100

result:

ok good solution

Test #25:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

8 7446

output:

49853

result:

ok good solution

Test #26:

score: 0
Accepted
time: 2ms
memory: 3500kb

input:

3 12

output:

6

result:

ok good solution

Test #27:

score: 0
Accepted
time: 2ms
memory: 3544kb

input:

8 6258

output:

18666

result:

ok good solution

Test #28:

score: 0
Accepted
time: 113ms
memory: 3456kb

input:

15 191474555

output:

411455767

result:

ok good solution

Test #29:

score: 0
Accepted
time: 2ms
memory: 3488kb

input:

3 17

output:

20

result:

ok good solution

Test #30:

score: 0
Accepted
time: 81ms
memory: 3720kb

input:

15 161474861

output:

318717104

result:

ok good solution

Test #31:

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

input:

10 180816

output:

81147

result:

ok good solution

Test #32:

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

input:

4 116

output:

81

result:

ok good solution

Test #33:

score: 0
Accepted
time: 392ms
memory: 3500kb

input:

16 1196684556

output:

567748713

result:

ok good solution

Test #34:

score: 0
Accepted
time: 264ms
memory: 3524kb

input:

16 1087033358

output:

458416341

result:

ok good solution

Test #35:

score: 0
Accepted
time: 306ms
memory: 3700kb

input:

16 2112546660

output:

1321210677

result:

ok good solution

Test #36:

score: 0
Accepted
time: 889ms
memory: 3476kb

input:

16 130507716

output:

3358127644

result:

ok good solution

Test #37:

score: 0
Accepted
time: 693ms
memory: 3540kb

input:

16 1531459999

output:

1004811660

result:

ok good solution

Test #38:

score: 0
Accepted
time: 78ms
memory: 3616kb

input:

16 1905706077

output:

1437054237

result:

ok good solution

Test #39:

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

input:

16 1584950777

output:

2565491169

result:

ok good solution

Test #40:

score: 0
Accepted
time: 150ms
memory: 3580kb

input:

16 1112585098

output:

312451907

result:

ok good solution

Test #41:

score: 0
Accepted
time: 247ms
memory: 3584kb

input:

16 1527899944

output:

1488817943

result:

ok good solution

Test #42:

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

input:

16 1234237908

output:

3150139837

result:

ok good solution

Test #43:

score: 0
Accepted
time: 60ms
memory: 3536kb

input:

16 922629865

output:

1149833290

result:

ok good solution

Test #44:

score: 0
Accepted
time: 1294ms
memory: 3724kb

input:

16 2079610945


output:

4169495274

result:

ok good solution

Test #45:

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

input:

16 125431469

output:

2028551108

result:

ok good solution

Test #46:

score: 0
Accepted
time: 710ms
memory: 3728kb

input:

16 425515915

output:

1873120589

result:

ok good solution

Test #47:

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

input:

16 882748949

output:

873576051

result:

ok good solution

Test #48:

score: 0
Accepted
time: 176ms
memory: 3724kb

input:

16 1647578253

output:

45770769

result:

ok good solution

Test #49:

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

input:

16 1687169193

output:

3025007262

result:

ok good solution

Test #50:

score: 0
Accepted
time: 736ms
memory: 3580kb

input:

16 702542621

output:

2485649646

result:

ok good solution