QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#148774#3907. JengaGuanYunchangAC ✓3ms4460kbC++233.0kb2023-08-23 18:45:092023-08-25 02:24:32

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 4024kb

input:

1

output:

1

result:

ok 1 number(s): "1"

Test #2:

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

input:

42

output:

729888649

result:

ok 1 number(s): "729888649"

Test #3:

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

input:

2

output:

4

result:

ok 1 number(s): "4"

Test #4:

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

input:

3

output:

10

result:

ok 1 number(s): "10"

Test #5:

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

input:

4

output:

22

result:

ok 1 number(s): "22"

Test #6:

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

input:

5

output:

52

result:

ok 1 number(s): "52"

Test #7:

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

input:

6

output:

121

result:

ok 1 number(s): "121"

Test #8:

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

input:

7

output:

286

result:

ok 1 number(s): "286"

Test #9:

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

input:

8

output:

677

result:

ok 1 number(s): "677"

Test #10:

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

input:

228

output:

356629798

result:

ok 1 number(s): "356629798"

Test #11:

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

input:

9

output:

1612

result:

ok 1 number(s): "1612"

Test #12:

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

input:

10

output:

3848

result:

ok 1 number(s): "3848"

Test #13:

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

input:

11

output:

9212

result:

ok 1 number(s): "9212"

Test #14:

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

input:

1488

output:

240571558

result:

ok 1 number(s): "240571558"

Test #15:

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

input:

12

output:

22094

result:

ok 1 number(s): "22094"

Test #16:

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

input:

13

output:

53074

result:

ok 1 number(s): "53074"

Test #17:

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

input:

1000

output:

284374226

result:

ok 1 number(s): "284374226"

Test #18:

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

input:

1000000

output:

602554631

result:

ok 1 number(s): "602554631"

Test #19:

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

input:

990007

output:

980254590

result:

ok 1 number(s): "980254590"

Test #20:

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

input:

322

output:

495236630

result:

ok 1 number(s): "495236630"

Test #21:

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

input:

10000000

output:

862498684

result:

ok 1 number(s): "862498684"

Test #22:

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

input:

20000000

output:

359079842

result:

ok 1 number(s): "359079842"

Test #23:

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

input:

1000000000000

output:

442754413

result:

ok 1 number(s): "442754413"

Test #24:

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

input:

1000000000000000000

output:

836402871

result:

ok 1 number(s): "836402871"

Test #25:

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

input:

999999999999999999

output:

278459801

result:

ok 1 number(s): "278459801"

Test #26:

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

input:

999999999999999998

output:

893910411

result:

ok 1 number(s): "893910411"

Test #27:

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

input:

999999999999999997

output:

789940253

result:

ok 1 number(s): "789940253"

Test #28:

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

input:

999999999999999996

output:

712655791

result:

ok 1 number(s): "712655791"

Test #29:

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

input:

999999999999999995

output:

281128680

result:

ok 1 number(s): "281128680"

Test #30:

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

input:

1000000000005

output:

581320643

result:

ok 1 number(s): "581320643"

Test #31:

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

input:

1900000000000

output:

661385681

result:

ok 1 number(s): "661385681"

Test #32:

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

input:

1100000000000

output:

21231507

result:

ok 1 number(s): "21231507"

Test #33:

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

input:

321414759606586236

output:

97182240

result:

ok 1 number(s): "97182240"

Test #34:

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

input:

430607132828703808

output:

201265571

result:

ok 1 number(s): "201265571"

Test #35:

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

input:

83435833742968935

output:

741928452

result:

ok 1 number(s): "741928452"

Test #36:

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

input:

861385767188247493

output:

460445533

result:

ok 1 number(s): "460445533"

Test #37:

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

input:

945462536183423657

output:

851583345

result:

ok 1 number(s): "851583345"

Test #38:

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

input:

323094985625626378

output:

271358027

result:

ok 1 number(s): "271358027"

Test #39:

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

input:

617319871997940730

output:

411182501

result:

ok 1 number(s): "411182501"

Test #40:

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

input:

665042047235648334

output:

769251081

result:

ok 1 number(s): "769251081"

Test #41:

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

input:

446498612465668651

output:

865127989

result:

ok 1 number(s): "865127989"

Test #42:

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

input:

120391855608885558

output:

259149951

result:

ok 1 number(s): "259149951"

Test #43:

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

input:

457981279170802317

output:

117527330

result:

ok 1 number(s): "117527330"

Test #44:

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

input:

267484028144004693

output:

14690139

result:

ok 1 number(s): "14690139"

Test #45:

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

input:

585543006724989899

output:

509826268

result:

ok 1 number(s): "509826268"

Test #46:

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

input:

512729507001108971

output:

822808161

result:

ok 1 number(s): "822808161"

Test #47:

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

input:

191149045267425889

output:

117900171

result:

ok 1 number(s): "117900171"

Test #48:

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

input:

61873787471723983

output:

448683593

result:

ok 1 number(s): "448683593"

Test #49:

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

input:

31886819446722287

output:

648696860

result:

ok 1 number(s): "648696860"

Test #50:

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

input:

77979192891261907

output:

884556519

result:

ok 1 number(s): "884556519"

Test #51:

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

input:

678935267959564197

output:

57132174

result:

ok 1 number(s): "57132174"