QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#334423 | #4693. 九连环 | MaMengQi | 100 ✓ | 183ms | 5744kb | C++20 | 2.4kb | 2024-02-21 22:27:54 | 2024-02-21 22:27:55 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 10
Accepted
time: 1ms
memory: 5700kb
input:
5 10 8 9 7 1
output:
682 170 341 85 1
result:
ok 5 lines
Test #2:
score: 10
Accepted
time: 0ms
memory: 5744kb
input:
5 8 14 28 3 1
output:
170 10922 178956970 5 1
result:
ok 5 lines
Test #3:
score: 10
Accepted
time: 0ms
memory: 5568kb
input:
10 14 6 2 28 30 29 27 25 17 1
output:
10922 42 2 178956970 715827882 357913941 89478485 22369621 87381 1
result:
ok 10 lines
Test #4:
score: 10
Accepted
time: 5ms
memory: 5704kb
input:
9 6084 5094 7198 8 1 10020 4551 7651 3081
output:
195165190845309854400230987161322940267469155306877397378010220652033367939797652253962275679943292782609402658257532892529656455911269356897413198589347612846851425221843111612622611706664952522391079245318400990054763733459154458550934537672113025772448781931285216827370679777769188388057673696112...
result:
ok 9 lines
Test #5:
score: 10
Accepted
time: 13ms
memory: 5688kb
input:
6 10904 10905 10417 9417 9918 9314
output:
179879412722104177170187776649951144263469100362809202733019942420127210211366281048278081338360140637191544485628687774378715116269408274030697905922001910642593442734054838511183724491515999308631363647933110708082458367105944556943828906682086414217580672157430797301549320253733949095088399491667...
result:
ok 6 lines
Test #6:
score: 10
Accepted
time: 26ms
memory: 5568kb
input:
4 19800 17840 20470 20571
output:
165128823916933588936874019772761566088182427909606501438465326103782022971698844577716254121397341734684699517507386220262786525105559374110418602547486032981545563945475290822156756425707206806443433449941550367819528203130532377926096400571545631922364256191400394854150820947252792563432163140659...
result:
ok 4 lines
Test #7:
score: 10
Accepted
time: 78ms
memory: 5568kb
input:
2 49890 49097
output:
162327618417318826784956387927235746444454274016599191319910929048817172771751513372538846639533673218516145553302734022758544521560148098397451766504107541544582922372889006412734722366799922307954420882644919879981949657611878952789861038516536834553360614539737376113688293551305755198453449281866...
result:
ok 2 lines
Test #8:
score: 10
Accepted
time: 78ms
memory: 5564kb
input:
2 49894 49893
output:
259724189467710122855930220683577194311126838426558706111857486478107476434802421396062154623253877149625832885284374436413671234496236957435922826406572066471332675796622410260375555786879875692727073412231871807971119452179006324463777661626458935285376983263579801781901269682089208317525518850986...
result:
ok 2 lines
Test #9:
score: 10
Accepted
time: 179ms
memory: 5704kb
input:
1 99783
output:
316203068412463996455217686736760462972474213192488257291525215515582665211036140088901139639163282223222103590396483163217881326748611872573811713371872241045393972336081355347105946828609827466228146782840877019032673994484867162189944396907759174564577996186394790064561055017358901337912511758798...
result:
ok single line: '316203068412463996455217686736...7006524958907261884176746763605'
Test #10:
score: 10
Accepted
time: 183ms
memory: 5640kb
input:
1 99894
output:
820910099388554997022827172244898573560571763967330073604419398809290466713246118049785893135838917281046927878102956882039853661292395591713125100907524854538498722358555269274521967327384703430062205883041440013968744334604118312903646815508502908123476824012604014512770759126804354656951375754233...
result:
ok single line: '820910099388554997022827172244...3810699045272532179363585239722'