QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#482596 | #5021. 六元不定方程 | GuanYunChang | 100 ✓ | 1ms | 4184kb | C++20 | 2.1kb | 2024-07-17 20:13:14 | 2024-07-17 20:13:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 7
Accepted
Test #1:
score: 7
Accepted
time: 0ms
memory: 3960kb
input:
47 2
output:
103824
result:
ok answer is 103824
Test #2:
score: 0
Accepted
time: 0ms
memory: 4144kb
input:
42 6
output:
502240
result:
ok answer is 502240
Test #3:
score: 0
Accepted
time: 0ms
memory: 4176kb
input:
42 7
output:
226016
result:
ok answer is 226016
Test #4:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
35 1
output:
42656
result:
ok answer is 42656
Test #5:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
30 4
output:
69440
result:
ok answer is 69440
Subtask #2:
score: 8
Accepted
Dependency #1:
100%
Accepted
Test #6:
score: 8
Accepted
time: 0ms
memory: 4172kb
input:
499 333
output:
124251500
result:
ok answer is 124251500
Test #7:
score: 0
Accepted
time: 0ms
memory: 4180kb
input:
498 22
output:
320201280
result:
ok answer is 320201280
Test #8:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
498 83
output:
384185312
result:
ok answer is 384185312
Test #9:
score: 0
Accepted
time: 0ms
memory: 4176kb
input:
390 20
output:
601352640
result:
ok answer is 601352640
Test #10:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
345 46
output:
126495376
result:
ok answer is 126495376
Test #11:
score: 0
Accepted
time: 0ms
memory: 3916kb
input:
286 1
output:
23400576
result:
ok answer is 23400576
Test #12:
score: 0
Accepted
time: 0ms
memory: 3896kb
input:
210 0
output:
720365460
result:
ok answer is 720365460
Subtask #3:
score: 15
Accepted
Dependency #2:
100%
Accepted
Test #13:
score: 15
Accepted
time: 0ms
memory: 4172kb
input:
9982687 1
output:
833369372
result:
ok answer is 833369372
Test #14:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
9665265 22219
output:
780386669
result:
ok answer is 780386669
Test #15:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
9649078 0
output:
510067513
result:
ok answer is 510067513
Test #16:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
9423655 12345
output:
198251909
result:
ok answer is 198251909
Test #17:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
9024847 54041
output:
414888066
result:
ok answer is 414888066
Test #18:
score: 0
Accepted
time: 0ms
memory: 4172kb
input:
8687543 23291
output:
738656105
result:
ok answer is 738656105
Test #19:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
8620018 297242
output:
983378133
result:
ok answer is 983378133
Test #20:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
8588469 1451
output:
951537138
result:
ok answer is 951537138
Test #21:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
8433805 5
output:
567636668
result:
ok answer is 567636668
Test #22:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
8314621 0
output:
79369486
result:
ok answer is 79369486
Subtask #4:
score: 20
Accepted
Test #23:
score: 20
Accepted
time: 0ms
memory: 4172kb
input:
9988070794 0
output:
892817552
result:
ok answer is 892817552
Test #24:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
9972429418 0
output:
719993084
result:
ok answer is 719993084
Test #25:
score: 0
Accepted
time: 0ms
memory: 4180kb
input:
9966431717 0
output:
966286891
result:
ok answer is 966286891
Test #26:
score: 0
Accepted
time: 0ms
memory: 4144kb
input:
9966178102 0
output:
116743504
result:
ok answer is 116743504
Test #27:
score: 0
Accepted
time: 0ms
memory: 3916kb
input:
9951622123 0
output:
419542959
result:
ok answer is 419542959
Test #28:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
9937736483 0
output:
84680671
result:
ok answer is 84680671
Test #29:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
9928468003 0
output:
548567043
result:
ok answer is 548567043
Test #30:
score: 0
Accepted
time: 0ms
memory: 3896kb
input:
9901819126 0
output:
262055683
result:
ok answer is 262055683
Test #31:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
9873091542 0
output:
877294745
result:
ok answer is 877294745
Test #32:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
9853543022 0
output:
739903570
result:
ok answer is 739903570
Subtask #5:
score: 20
Accepted
Test #33:
score: 20
Accepted
time: 0ms
memory: 3880kb
input:
9969724230 1
output:
527859436
result:
ok answer is 527859436
Test #34:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
9964838918 1
output:
969835202
result:
ok answer is 969835202
Test #35:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
9911664446 1
output:
951283512
result:
ok answer is 951283512
Test #36:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
9882518010 1
output:
8204420
result:
ok answer is 8204420
Test #37:
score: 0
Accepted
time: 0ms
memory: 4176kb
input:
9852510959 1
output:
255096514
result:
ok answer is 255096514
Test #38:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
9849266182 1
output:
217274142
result:
ok answer is 217274142
Test #39:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
9791892338 1
output:
325668125
result:
ok answer is 325668125
Test #40:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
9788777311 1
output:
263084896
result:
ok answer is 263084896
Test #41:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
9770828129 1
output:
334761590
result:
ok answer is 334761590
Test #42:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
9766387838 1
output:
894928242
result:
ok answer is 894928242
Subtask #6:
score: 10
Accepted
Test #43:
score: 10
Accepted
time: 0ms
memory: 3960kb
input:
970453956888041837 0
output:
645066299
result:
ok answer is 645066299
Test #44:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
931194651310010123 171424099
output:
509436117
result:
ok answer is 509436117
Test #45:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
907038108223508551 0
output:
165963545
result:
ok answer is 165963545
Test #46:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
872894846856586517 0
output:
16659004
result:
ok answer is 16659004
Test #47:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
824587281708021301 0
output:
196823133
result:
ok answer is 196823133
Test #48:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
757939300287057419 4081004373
output:
561901817
result:
ok answer is 561901817
Test #49:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
705849997001114851 3871857366
output:
650365127
result:
ok answer is 650365127
Test #50:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
652610414906722897 0
output:
440955612
result:
ok answer is 440955612
Test #51:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
646175904545988703 0
output:
522822575
result:
ok answer is 522822575
Test #52:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
590437758476363971 3750950939
output:
128252968
result:
ok answer is 128252968
Subtask #7:
score: 20
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Dependency #5:
100%
Accepted
Dependency #6:
100%
Accepted
Test #53:
score: 20
Accepted
time: 0ms
memory: 3916kb
input:
947005028140256067 3
output:
685724558
result:
ok answer is 685724558
Test #54:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
650562918533485234 0
output:
969128068
result:
ok answer is 969128068
Test #55:
score: 0
Accepted
time: 0ms
memory: 3964kb
input:
810331430612257297 7434233308369333
output:
286670205
result:
ok answer is 286670205
Test #56:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
191130266133495754 26
output:
36044440
result:
ok answer is 36044440
Test #57:
score: 0
Accepted
time: 0ms
memory: 4176kb
input:
256972175102435909 0
output:
163076455
result:
ok answer is 163076455
Test #58:
score: 0
Accepted
time: 0ms
memory: 4176kb
input:
922821875283979361 6735926096963353
output:
132162975
result:
ok answer is 132162975
Test #59:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
336443768560106918 1
output:
355145101
result:
ok answer is 355145101
Test #60:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
521622354091666449 173874118030555483
output:
602419902
result:
ok answer is 602419902
Test #61:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
161587891045624501 0
output:
4096284
result:
ok answer is 4096284
Test #62:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
918015756417754473 177
output:
898506288
result:
ok answer is 898506288
Test #63:
score: 0
Accepted
time: 1ms
memory: 3916kb
input:
974909818521738877 1
output:
490867530
result:
ok answer is 490867530
Test #64:
score: 0
Accepted
time: 1ms
memory: 4144kb
input:
931353657704809147 0
output:
463150251
result:
ok answer is 463150251
Test #65:
score: 0
Accepted
time: 1ms
memory: 4144kb
input:
877069285688503073 57320337344
output:
272740305
result:
ok answer is 272740305
Test #66:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
939263795272194911 0
output:
976827347
result:
ok answer is 976827347
Test #67:
score: 0
Accepted
time: 0ms
memory: 4184kb
input:
996421441678288273 1123675667
output:
960318186
result:
ok answer is 960318186
Test #68:
score: 0
Accepted
time: 1ms
memory: 4168kb
input:
981321271852457453 12243967075635
output:
639682371
result:
ok answer is 639682371
Test #69:
score: 0
Accepted
time: 1ms
memory: 3880kb
input:
982370232199372381 990476407
output:
731066550
result:
ok answer is 731066550
Test #70:
score: 0
Accepted
time: 1ms
memory: 4148kb
input:
998045693157780467 109492712669682
output:
976382538
result:
ok answer is 976382538
Test #71:
score: 0
Accepted
time: 1ms
memory: 3876kb
input:
977933905282858861 976891768791
output:
976676969
result:
ok answer is 976676969
Test #72:
score: 0
Accepted
time: 1ms
memory: 3880kb
input:
993920242952842243 0
output:
289796087
result:
ok answer is 289796087