QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#608940 | #564. 魔法 | 3un_larryfunc | 100 ✓ | 102ms | 8664kb | C++23 | 4.8kb | 2024-10-04 09:28:25 | 2024-10-04 09:28:25 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Pretests
Final Tests
Test #1:
score: 10
Accepted
time: 1ms
memory: 5876kb
input:
32768 9987 100 28506 5590 1649 2307 24282 5093 1415 7802 24103 1112 14745 999 10478 6794 10933 9200 31201 3426 25773 2098 30717 4098 3200 4048 26496 9471 29319 5892 13048 3981 11218 7792 11500 4123 4694 8190 18817 9611 27044 352 17568 8736 10759 1283 28346 6950 23288 2224 4457 7966 30596 8780 28335 ...
output:
42725
result:
ok answer is '42725'
Test #2:
score: 10
Accepted
time: 31ms
memory: 6212kb
input:
46410 99997 10000 13200 15603 1404 6759 14676 94044 16682 79389 36449 65825 31901 57001 27046 84451 2006 4672 1520 43190 33946 59478 13727 4650 29191 73450 31388 48280 29579 41713 19084 50709 17331 9387 20245 83352 16024 16930 26919 32029 21541 78584 22613 72163 17451 429 35968 91144 32710 49890 244...
output:
145864
result:
ok answer is '145864'
Test #3:
score: 10
Accepted
time: 0ms
memory: 6172kb
input:
97979 79797 0
output:
177775
result:
ok answer is '177775'
Test #4:
score: 10
Accepted
time: 0ms
memory: 5808kb
input:
1000000000 999999999 0
output:
1999999998
result:
ok answer is '1999999998'
Test #5:
score: 10
Accepted
time: 0ms
memory: 5928kb
input:
989999998 313131313 1024 466297174 81678111 895428400 173894418 780747740 289790809 221247063 162389337 942374253 83165668 931932356 209086772 770316411 298488384 729576515 152933247 950669136 74376768 865258922 262306960 888861710 111995472 172271158 191943242 340448317 260178530 167388442 10329201...
output:
1303131082
result:
ok answer is '1303131082'
Test #6:
score: 10
Accepted
time: 40ms
memory: 6484kb
input:
1000000000 999999925 5000 440856479 646493102 382064738 413794943 206899643 720419464 150194558 353738208 946758572 769330019 251755702 969779632 638794254 631234468 262249745 104171843 901250566 795909574 430578068 535877488 105478217 519875979 366439069 862560627 956753461 212752969 313871902 6331...
output:
1999999850
result:
ok answer is '1999999850'
Test #7:
score: 10
Accepted
time: 70ms
memory: 7340kb
input:
999999907 1000000000 8192 540774650 94691035 591728528 293583431 592814054 979864335 190750859 433340059 482981971 510387917 982387002 185305067 653699348 228987557 918403337 437980510 154859338 400153583 422956973 887254970 503007876 446370063 414916936 969688761 715623665 376097392 360672986 76402...
output:
1999999814
result:
ok answer is '1999999814'
Test #8:
score: 10
Accepted
time: 31ms
memory: 8664kb
input:
562943423 999999000 9999 385328949 980582745 136459932 667607325 290393822 958498858 481953116 904430909 376229043 306789517 15032080 873393376 231481033 112706697 229633813 508410926 60796181 679581742 415339337 492418623 223220093 292682674 344525811 66103339 258918135 931254138 295433344 85461414...
output:
1562941635
result:
ok answer is '1562941635'
Test #9:
score: 10
Accepted
time: 102ms
memory: 7364kb
input:
1000000000 123456781 10000 247667100 45778348 999825844 106175134 327624972 66128815 491112667 9302003 377454269 45473628 427115223 58846489 993314999 110968063 4636605 79124940 404808490 68772488 756363691 65411607 291323215 13412972 248363734 94512022 153173440 106529309 638926069 45917832 7393978...
output:
1123456042
result:
ok answer is '1123456042'
Test #10:
score: 10
Accepted
time: 83ms
memory: 7544kb
input:
546546546 546546547 10000 114065011 451061191 98583826 516375080 225494665 363408615 141202892 60461544 462102055 540723225 70095039 191287578 437759149 18141818 200683418 89177806 160074046 490229306 476370689 531079027 312393615 414829931 266614379 19648925 494739799 417483039 125507979 332584267 ...
output:
1093093092
result:
ok answer is '1093093092'