QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#717800#9612. 月亮的背面是粉红色的qiuzx100 ✓2408ms961744kbC++204.8kb2024-11-06 18:58:432024-11-06 18:58:43

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 3
Accepted

Test #1:

score: 3
Accepted
time: 12ms
memory: 442176kb

input:

1726 1

output:

84290761 74619067 

result:

ok 2 number(s): "84290761 74619067"

Test #2:

score: 3
Accepted
time: 20ms
memory: 441240kb

input:

3608 1

output:

433014481 672891299 

result:

ok 2 number(s): "433014481 672891299"

Test #3:

score: 3
Accepted
time: 7ms
memory: 440556kb

input:

2921 1

output:

271096225 547734266 

result:

ok 2 number(s): "271096225 547734266"

Subtask #2:

score: 3
Accepted

Test #4:

score: 3
Accepted
time: 7ms
memory: 440808kb

input:

6116899 1

output:

219318963 301450440 

result:

ok 2 number(s): "219318963 301450440"

Test #5:

score: 3
Accepted
time: 8ms
memory: 443704kb

input:

6260707 1

output:

148720176 263856753 

result:

ok 2 number(s): "148720176 263856753"

Test #6:

score: 3
Accepted
time: 11ms
memory: 440724kb

input:

6763677 1

output:

944542490 136397156 

result:

ok 2 number(s): "944542490 136397156"

Subtask #3:

score: 8
Accepted

Test #7:

score: 8
Accepted
time: 7ms
memory: 443000kb

input:

6469467712 0

output:

147393348 

result:

ok 1 number(s): "147393348"

Test #8:

score: 8
Accepted
time: 16ms
memory: 441656kb

input:

8967004453 0

output:

229436583 

result:

ok 1 number(s): "229436583"

Test #9:

score: 8
Accepted
time: 19ms
memory: 441892kb

input:

6636594384 0

output:

995965072 

result:

ok 1 number(s): "995965072"

Subtask #4:

score: 8
Accepted

Test #10:

score: 8
Accepted
time: 24ms
memory: 441804kb

input:

8292948816 1

output:

566765721 287485757 

result:

ok 2 number(s): "566765721 287485757"

Test #11:

score: 8
Accepted
time: 24ms
memory: 443188kb

input:

8592748771 1

output:

649470692 164561252 

result:

ok 2 number(s): "649470692 164561252"

Test #12:

score: 8
Accepted
time: 20ms
memory: 441636kb

input:

9827380808 1

output:

291159931 188690805 

result:

ok 2 number(s): "291159931 188690805"

Subtask #5:

score: 8
Accepted

Test #13:

score: 8
Accepted
time: 95ms
memory: 464988kb

input:

900472451132 1

output:

247050500 963765719 

result:

ok 2 number(s): "247050500 963765719"

Test #14:

score: 8
Accepted
time: 84ms
memory: 466296kb

input:

850862494659 1

output:

200210720 915108650 

result:

ok 2 number(s): "200210720 915108650"

Test #15:

score: 8
Accepted
time: 93ms
memory: 466524kb

input:

851346512859 1

output:

895785763 504512885 

result:

ok 2 number(s): "895785763 504512885"

Subtask #6:

score: 10
Accepted

Test #16:

score: 10
Accepted
time: 285ms
memory: 521332kb

input:

9864907300784 1

output:

359943536 720268421 

result:

ok 2 number(s): "359943536 720268421"

Test #17:

score: 10
Accepted
time: 248ms
memory: 511232kb

input:

8181674676063 1

output:

839993102 994056029 

result:

ok 2 number(s): "839993102 994056029"

Test #18:

score: 10
Accepted
time: 255ms
memory: 518784kb

input:

9893510217522 1

output:

157499971 930653488 

result:

ok 2 number(s): "157499971 930653488"

Subtask #7:

score: 13
Accepted

Test #19:

score: 13
Accepted
time: 271ms
memory: 582592kb

input:

96735749745529 0

output:

223354886 

result:

ok 1 number(s): "223354886"

Test #20:

score: 13
Accepted
time: 290ms
memory: 582988kb

input:

95243570720799 0

output:

555372474 

result:

ok 1 number(s): "555372474"

Test #21:

score: 13
Accepted
time: 291ms
memory: 579860kb

input:

97668723090105 0

output:

84562124 

result:

ok 1 number(s): "84562124"

Subtask #8:

score: 14
Accepted

Test #22:

score: 14
Accepted
time: 708ms
memory: 590616kb

input:

94060593399194 1

output:

52991150 887133157 

result:

ok 2 number(s): "52991150 887133157"

Test #23:

score: 14
Accepted
time: 739ms
memory: 591136kb

input:

98527940728119 1

output:

281611635 910356955 

result:

ok 2 number(s): "281611635 910356955"

Test #24:

score: 14
Accepted
time: 715ms
memory: 589860kb

input:

90501814019947 1

output:

666385143 229785369 

result:

ok 2 number(s): "666385143 229785369"

Subtask #9:

score: 16
Accepted

Test #25:

score: 16
Accepted
time: 2388ms
memory: 959064kb

input:

9772457586483846 0

output:

631039552 

result:

ok 1 number(s): "631039552"

Test #26:

score: 16
Accepted
time: 2403ms
memory: 961744kb

input:

9889806164705403 0

output:

169322134 

result:

ok 1 number(s): "169322134"

Test #27:

score: 16
Accepted
time: 2346ms
memory: 952332kb

input:

9422498258316766 0

output:

413943782 

result:

ok 1 number(s): "413943782"

Test #28:

score: 16
Accepted
time: 2408ms
memory: 960348kb

input:

9845978636381962 0

output:

857401052 

result:

ok 1 number(s): "857401052"

Test #29:

score: 16
Accepted
time: 2407ms
memory: 959840kb

input:

9761171951453691 0

output:

205712009 

result:

ok 1 number(s): "205712009"

Test #30:

score: 16
Accepted
time: 2349ms
memory: 949800kb

input:

9224667465673566 0

output:

143979878 

result:

ok 1 number(s): "143979878"

Subtask #10:

score: 17
Accepted

Test #31:

score: 17
Accepted
time: 2183ms
memory: 698668kb

input:

949243849085176 1

output:

508465534 771553755 

result:

ok 2 number(s): "508465534 771553755"

Test #32:

score: 17
Accepted
time: 2127ms
memory: 698276kb

input:

924225524519163 1

output:

867410272 870831653 

result:

ok 2 number(s): "867410272 870831653"

Test #33:

score: 17
Accepted
time: 2198ms
memory: 700744kb

input:

978079151303393 1

output:

235076358 675828942 

result:

ok 2 number(s): "235076358 675828942"

Test #34:

score: 17
Accepted
time: 2126ms
memory: 699572kb

input:

929804617107620 1

output:

790604296 73162158 

result:

ok 2 number(s): "790604296 73162158"

Test #35:

score: 17
Accepted
time: 2197ms
memory: 703100kb

input:

989806727450552 1

output:

378550840 783149232 

result:

ok 2 number(s): "378550840 783149232"