PageSourceSearch

https://cdn.oier.team/_next/static/chunks/1746-74774ae80b61b83a.js

js oier.team collected 2026-10-06 14:15:46 UTC 147,121 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1746],{44753:function(e,a,n){n.d(a,{Jt:function(){return y},Lz:function(){return b},Ni:function(){return z},SL:function(){return O},V0:function(){return _},Xp:function(){return g},fU:function(){return A},k3:function(){return $}});var t=n(31229),d=n(19787),i=n(2265),o=n(96153),r=n(63861),s=n(95106),l=n(59151),u=n(28287),c=n(19304);let b=t.Ry({attend:t.Rx().default(0),startAt:d.OK,endAt:d.OK}).transform(e=>({attend:e.attend,beginAt:e.startAt,endAt:e.endAt}));t.Ry({tid:t.Z_()});let f=t.Ry({tdoc:d.s6,tsdoc:b.nullable().transform(e=>null!=e?e:{attend:0,beginAt:s.ou.fromSeconds(0),endAt:s.ou.fromSeconds(0)}),udict:d.TE,files:t.IX(t.Yj()),UserContext:t.Z_()}),m=t.Ry({page:t.Rx(),tpcount:t.Rx(),qs:t.Z_(),rule:t.Z_(),tdocs:t.IX(d.s6),tsdict:d.wC,groups:t.IX(t.Yj()),group:t.Z_(),UserContext:t.Z_()}),p=(0,o.e)(m,!0),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,a=arguments.length>1?arguments[1]:void 0;return p("/api/contest?page=".concat(e),a)};function g(e){let a=s.ou.now(),[n,t,d]=e.reduce((e,n)=>{let[t,d,i]=e;return n.endAt<a?i.push(n):n.beginAt>a?d.push(n):t.push(n),[t,d,i]},[[],[],[]]);return{ongoing:n,future:t,past:d}}function _(e){return g(e)}let v=f.parse(JSON.parse('{"tdoc":{"_id":"645e688dcd521724464af308","content":"**置顶:非常抱歉,因与 APIO2023、THUPC2023 和洛谷 6 月月赛 I 时间冲突,比赛时间调至 6.10。**\\r\\n## 比赛介绍\\r\\n欢迎来到 Sadness Fan Club Round 2!我们是一个热爱 QQ 表情难过——也即 `/ng`——及其一系列衍生表情的出题组。\\r\\n\\r\\n感谢参与本场比赛准备工作的出题人和验题人 [joke3579](/user/20694)、[Leasier](/user/1874) 和 [xianggl](/user/6065),以及审核员 [undefined](/user/31) 和 [寒鸽儿](/user/401)。\\r\\n\\r\\n最后,欢迎各位加入我们以及 [CF 同名 Organization](https://codeforces.com/ratings/organization/36776)!\\r\\n## 题目列表\\r\\n| 序号 | 题目名称 | idea & std & data | check |\\r\\n| :-: | :-: | :-: | :-: |\\r\\n| A | 难过 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| B | 幽灵 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| C | 愤怒 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| D | 街舞 | [Leasier](/user/1874) | [joke3579](/user/20694) |\\r\\n## 比赛奖励\\r\\n- 四题首 A 分别奖励 $2$、$4$、$6$、$8$ 元。\\r\\n- AK 者平分 $25$ 元,向上取整。\\r\\n- 前三名再依次奖励 $15$、$10$、$5$ 元。\\r\\n- 在有分的选手中随机三人,每人 $1$ 元。使用[此代码](https://gist.github.com/Macesuted/53d37d799d92d44bae3e84224a98aaa9)随机,最终随机种子为比赛中最后一次提交的时、分、秒依次连接形成的六位数。\\r\\n## 外部链接\\r\\n- [公告帖](https://hydro.ac/discuss/6483c4a070306bb03574f336#1686357152105)\\r\\n- [赛时答疑帖](https://hydro.ac/discuss/6483c4c370306bb03574f382#1686357187680)\\r\\n- [赛后总结帖](https://hydro.ac/discuss/648584a770306bb0357a286c#1686471847639)","owner":31,"domainId":"system","docType":30,"docId":"645e688dcd521724464af308","duration":null,"title":"「SFCOI-2」Sadness Fan Club Round 2","rule":"oi","beginAt":"2023-06-10T05:00:00.000Z","endAt":"2023-06-10T09:00:00.000Z","pids":[279,280,282,281],"attend":58,"rated":true,"allowViewCode":true,"assign":[],"autoHide":false,"lockAt":null,"maintainer":[1874]},"tsdoc":{},"udict":{"31":{"_id":31,"uname":"undefined","mail":"[email protected]","perm":"BigInt::-1","role":"root","priv":-1,"regat":"2021-03-03T14:15:16.024Z","loginat":"2024-02-07T12:24:43.783Z","tfa":true,"authn":true}},"files":[],"overrideNav":[{"name":"contest_main","args":{},"displayName":"Back to contest list"},{"name":"contest_detail","displayName":"「SFCOI-2」Sadness Fan Club Round 2","args":{"tid":"645e688dcd521724464af308","prefix":"contest_detail"}},{"name":"contest_problemlist","args":{"tid":"645e688dcd521724464af308"}},{"name":"contest_scoreboard","args":{"tid":"645e688dcd521724464af308","prefix":"contest_scoreboard"}},{"displayName":"@. undefined","args":{"query":{"tid":"645e688dcd521724464af308"},"prefix":"contest_detail_problem"}}],"UiContext":{"cdn_prefix":"https://cdn.hydro.ac/","url_prefix":"/","ws_prefix":"wss://ws.hydrooj.com/","onlyofficeApi":"https://office.hydro.ac/web-apps/apps/api/documents/api.js","lspHost":"wss://hydro.ac","constantVersion":"b3b23ded","domainId":"system","domain":{"_id":"system","owner":1,"name":"Hydro Online Judge","bulletin":"<div class=\\"row\\"><div class=\\"medium-6 columns\\">\\r\\n\\r\\n[想要免费创建一个属于自己的 OJ 吗?](/discuss/6172ceeed850d38c79ae18f9)\\r\\n\\r\\n[新用户必读](/discuss/6080b1d93c27ccf0adb34216)\\r\\n\\r\\n[Hydro 项目用户群](https://jq.qq.com/?_wv=1027&k=0LgdQeGR)(1085853538)\\r\\n\\r\\n[hydro.ac 用户群](https://jq.qq.com/?_wv=1027&k=pKYrk4yp)(1091497622)\\r\\n\\r\\n[给我们投食](https://pay.undefined.moe)\\r\\n\\r\\n[Github Repo (AGPL 3.0)](https://github.com/hydro-dev/Hydro)\\r\\n\\r\\n<!-- ### 最新动态 -->\\r\\n\\r\\n</div><div class=\\"medium-6 columns\\">\\r\\n\\r\\n## 推荐题库列表\\r\\n\\r\\n[æµ´è°· | 计算机科学教育新生态](/d/luogu/)\\r\\n\\r\\n<div class=\\"row\\"><div class=\\"medium-6 small-6 columns\\">\\r\\n\\r\\n[深入浅出基础篇](/d/srqc/)\\r\\n\\r\\n[测试题域](/d/system_test/)\\r\\n\\r\\n[Codeforces](/d/codeforces/)\\r\\n\\r\\n[CCF 真题](/d/ccf/)\\r\\n\\r\\n[USACO](/d/USACO/)\\r\\n\\r\\n[一本通启蒙篇](/d/ybtbas/)/[入门/提高](/d/ybttk/)\\r\\n\\r\\n\\r\\n</div><div class=\\"medium-6 small-6 columns\\">\\r\\n\\r\\n[BZOJ](/d/bzoj/)\\r\\n\\r\\n[SPOJ](/d/spoj/)\\r\\n\\r\\n[UOJ](/d/uoj/)\\r\\n\\r\\n[POJ](/d/poj/)\\r\\n\\r\\n[LOJ](/d/loj/)\\r\\n\\r\\n[AtCoder](/d/at
1coder/)\\r\\n\\r\\n</div></div>\\r\\n\\r\\n</div></div>\\r\\n\\r\\n<!-- <blockquote class=\\"note\\"></blockquote> -->\\r\\n\\r\\n","roles":{"guest":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624963374923919687809","default":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652887832328555171906241","root":"-1","problem_provider":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652887832486884846334673","problem_manager":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652887833903055857776629","mute":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652883217827140225499777","download":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652887832328555171907265"},"gravatar":"","join":{"method":1,"role":"root","expire":null},"avatar":"gravatar:[email protected]","share":"*","langs":"","lower":"system","union":["bzoj","uoj","luogu","poj","codeforces","spoj","ccf","loj"],"lastActive":"2024-03-20T21:31:02.196Z","swiper":"- title: Hello, Hydro!\\r\\n  image: /components/navigation/nav-logo-small_dark.png\\r\\n  url: /\\r\\n","config":{"swiper$data":"- title: Hello, Hydro!\\r\\n  image: /components/navigation/nav-logo-small_dark.png\\r\\n  url: /\\r\\n"}},"SWConfig":{"preload":"","hosts":["http://hydro.ac","https://hydro.ac","https://hydro.ac/","/"],"domains":["beta.hydro.ac","xtom-jp.hydro.ac","ali-hk.hydro.ac"]}},"UserContext":"{\\"_id\\":0,\\"mail\\":\\"[email protected]\\",\\"uname\\":\\"Guest\\",\\"hashType\\":\\"hydro\\",\\"priv\\":8,\\"regat\\":\\"1970-01-01T00:00:00.000Z\\",\\"loginat\\":\\"1970-01-01T00:00:00.000Z\\",\\"perm\\":\\"BigInt::10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624963374923919687809\\",\\"role\\":\\"guest\\",\\"scope\\":\\"BigInt::-1\\",\\"tfa\\":false,\\"authn\\":false,\\"group\\":[],\\"domains\\":[],\\"timeZone\\":\\"Asia/Shanghai\\",\\"codeLang\\":\\"cc.cc17o2\\",\\"avatar\\":\\"gravatar:[email protected]\\",\\"gender\\":2,\\"backgroundImage\\":\\"/components/profile/backgrounds/1.jpg\\",\\"unreadMsg\\":27,\\"pinnedDomains\\":[],\\"fontFamily\\":\\"Open Sans\\",\\"codeFontFamily\\":\\"Source Code Pro\\",\\"preferredEditorType\\":\\"sv\\",\\"monacoTheme\\":\\"vs-light\\",\\"theme\\":\\"light\\",\\"formatCode\\":true,\\"formatStyle\\":\\"BasedOnStyle: WebKit\\\\nBreakBeforeBraces: Custom\\\\nAllowShortCaseLabelsOnASingleLine: true\\\\nAllowShortBlocksOnASingleLine: true\\\\nAllowShortIfStatementsOnASingleLine: true\\\\nAllowShortLoopsOnASingleLine: true\\\\n\\",\\"plugins\\":[],\\"balance\\":20000,\\"star\\":true,\\"rpInfo\\":{},\\"avatarUrl\\":\\"//cn.gravatar.com/avatar/97119d3d15d5201ab506330ed4bab0f7?d=mm&s=128\\"}"}'));function $(e){let a=(0,i.useMemo)(()=>(0,o.e)(f),[]);return(0,r.ZP)(()=>e&&"/api/contest/".concat(e),a,{use:[(0,o.j)(v)]})}let h=t.Ry({_id:t.Z_(),owner:t.Rx(),domainId:d.Nr,docType:t.Rx(),docId:t.Rx(),title:t.Z_(),pid:t.Z_().optional(),config:d.TA.optional()}),w=t.Ry({rid:t.Z_(),pid:t.Rx(),status:t.Rx().optional(),score:t.Rx().optional()}),Z=t.Ry({_id:t.G0([t.lB(),t.Z_()]).optional(),content:t.G0([t.lB(),t.Z_()]).optional(),ip:t.G0([t.lB(),t.Z_()]).optional(),owner:t.G0([t.Rx(),t.lB()]).optional()}),T=t.Ry({_id:t.Z_(),content:t.Z_(),docId:t.Z_(),docType:t.Rx(),domainId:t.Z_(),ip:t.Z_(),owner:t.Rx(),parentId:t.Z_(),parentType:t.Rx(),reply:t.G0([t.IX(Z),t.lB()]).optional(),subject:t.Rx()}),M=t.Ry({canViewRecord:t.O7().optional(),tcdocs:t.IX(T),pdict:t.IM(h),psdict:t.IM(w),udict:t.IM(t.Z_(),c.c2),rdocs:t.IX(l.bU).optional().default([]),tdoc:d.s6}),q=M.parse(JSON.parse('{"pdict":{"279":{"_id":"645e67fde3f1072df0af9684","owner":1874,"domainId":"system","docType":10,"docId":279,"title":"「SFCOI-2」难过","pid":"SFCR2A","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}},"280":{"_id":"645e6807e3f1072df0af9687","owner":1874,"domainId":"system","docType":10,"docId":280,"title":"「SFCOI-2」幽灵","pid":"SFCR2B","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}},"281":{"_id":"645e6809e3f1072df0af9689","owner":1874,"domainId":"system","docType":10,"docId":281,"title":"「SFCOI-2」街舞","pid":"SFCR2D","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}},"282":{"_id":"645e680ae3f1072df0af968a","owner":1874,"domainId":"system","docType":10,"docId":282,"title":"「SFCOI-2」愤怒","pid":"SFCR2C","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}},"SFCR2A":{"_id":"645e67fde3f1072df0af9684","owner":1874,"domainId":"system","docType":10,"docId":279,"title":"「SFCOI-2」难过","pid":"SFCR2A","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}},"SFCR2B":{"_id":"645e6807e3f1072df0af9687","owner":1874,"domainId":"system","docType":10,"docId":280,"title":"「SFCOI-2」幽灵","pid":"SFCR2B","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}},"SFCR2D":{"_id":"645e6809e3f1072df0af9689","owner":1874,"domainId":"system","docType":10,"docId":281,"title":"「SFCOI-2」街舞","pid":"SFCR2D","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}},"SFCR2C":{"_id":"645e680ae3f1072df0af968a","owner":1874,"domainId":"system","docType":10,"docId":282,"title":"「SFCOI-2」愤怒","pid":"SFCR2C","config":{"count":0,"memoryMin":256,"memoryMax":256,"timeMin":1000,"timeMax":1000,"type":"default"}}},"psdict":{},"udict":{"0":{"_id":0,"uname":"Guest","mail":"[email protected]","perm":"BigInt::10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831653805554995641330991233","role":"guest","priv":8,"regat":"1970-01-01T00:00:00.000Z","loginat":"1970-01-01T00:00:00.000Z","tfa":false,"authn":false},"31":{"_id":31,"uname":"undefined","mail":"[email protected]","perm":"BigInt::-1","role":"root","priv":-1,"regat":"2021-03-03T14:15:16.024Z","loginat":"2024-02-07T12:24:43.783Z","tfa":true,"authn":true}},"rdict":{},"tdoc":{"_id":"645e688dcd521724464af308","content":"**置顶:非常抱歉,因与 APIO2023、THUPC2023 和洛谷 6 月月赛 I 时间冲突,比赛时间调至 6.10。**\\r\\n## 比赛介绍\\r\\n欢迎来到 Sadness Fan Club Round 2!我们是一个热爱 QQ 表情难过——也即 `/ng`——及其一系列衍生表情的出题组。\\r\\n\\r\\n感谢参与本场比赛准备工作的出题人和验题人 [joke3579](/user/20694)、[Leasier](/user/1874) 和 [xianggl](/user/6065),以及审核员 [undefined](/user/31) 和 [寒鸽儿](/user/401)。\\r\\n\\r\\n最后,欢迎各位加入我们以及 [CF 同名 Organization](https://codeforces.com/ratings/organization/36776)!\\r\\n## 题目列表\\r\\n| 序号 | 题目名称 | idea & std & data | check |\\r\\n| :-: | :-: | :-: | :-: |\\r\\n| A | 难过 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| B | 幽灵 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| C | 愤怒 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| D | 街舞 | [Leasier](/user/1874) | [joke3579](/user/20694) |\\r\\n## 比赛奖励\\r\\n- 四题首 A 分别奖励 $2$、$4$、$6$、$8$ 元。\\r\\n- AK 者平分 $25$ 元,向上取整。\\r\\n- 前三名再依次奖励 $15$、$10$、$5$ 元。\\r\\n- 在有分的选手中随机三人,每人 $1$ 元。使用[此代码](https://gist.github.com/Macesuted/53d37d799d92d44bae3e84224a98aaa9)随机,最终随机种子为比赛中最后一次提交的时、分、秒依次连接形成的六位数。\\r\\n## 外部链接\\r\\n- [公告帖](https://hydro.ac/discuss/6483c4a070306bb03574f336#1686357152105)\\r\\n- [赛时答疑帖](https://hydro.ac/discuss/6483c4c370306bb03574f382#1686357187680)\\r\\n- [赛后总结帖](https://hydro.ac/discuss/648584a770306bb0357a286c#1686471847639)","owner":31,"domainId":"system","docType":30,"docId":"645e688dcd521724464af308","duration":null,"title":"「SFCOI-2」Sadness Fan Club Round 2","rule":"oi","beginAt":"2023-06-10T05:00:00.000Z","endAt":"2023-06-10T09:00:00.000Z","pids":[279,280,282,281],"attend":58,"rated":true,"allowViewCode":true,"assign":[],"autoHide":false,"lockAt":null,"maintainer":[1874]},"tsdoc":null,"tcdocs":[],"showScore":false,"UiContext":{"cdn_prefix":"https://cdn.hydro.ac/","url_prefix":"/","ws_prefix":"wss://ali-hk.hydro.ac/","onlyofficeApi":"https://office.hydro.ac/web-apps/apps/api/documents/api.js","lspHost":"wss://hydro.ac","constantVersion":"88598171","domainId":"system","domain":{"_id":"system","owner":1,"name":"Hydro Online Judge","bulletin":"<div class=\\"row\\"><div class=\\"medium-6 columns\\">\\r\\n\\r\\n[想要免费创建一个属于自己的 OJ 吗?](/discuss/6172ceeed850d38c79ae18f9)\\r\\n\\r\\n[新用户必读](/discuss/6080b1d93c27ccf0adb34216)\\r\\n\\r\\n[Hydro 项目用户群](https://jq.qq.com/?_wv=1027&k=0LgdQeGR)(1085853538)\\r\\n\\r\\n[hydro.ac 用户群](https://jq.qq.com/?_wv=1027&k=pKYrk4yp)(1091497622)\\r\\n\\r\\n[给我们投食](https://pay.undefined.moe)\\r\\n\\r\\n[Github Repo (AGPL 3.0)](https://github.com/hydro-dev/Hydro)\\r\\n\\r\\n<!-- ### 最新动态 -->\\r\\n\\r\\n</div><div class=\\"medium-6 columns\\">\\r\\n\\r\\n## 推荐题库列表\\r\\n\\r\\n[æµ´è°· | 计算机科学教育新生态](/d/luogu/)\\r\\n\\r\\n<div class=\\"row\\"><div class=\\"medium-6 small-6 columns\\">\\r\\n\\r\\n[深入浅出基础篇](/d/srqc/)\\r\\n\\r\\n[测试题域](/d/system_test/)\\r\\n\\r\\n[Codeforces](/d/codeforces/)\\r\\n\\r\\n[CCF 真题](/d/ccf/)\\r\\n\\r\\n[USACO](/d/USACO/)\\r\\n\\r\\n[一本通启蒙篇](/d/ybtbas/)/[入门/提高](/d/ybttk/)\\r\\n\\r\\n\\r\\n</div><div class=\\"medium-6 small-6 columns\\">\\r\\n\\r\\n[BZOJ](/d/bzoj/)\\r\\n\\r\\n[SPOJ](/d/spoj/)\\r\\n\\r\\n[UOJ](/d/uoj/)\\r\\n\\r\\n[POJ](/d/poj/)\\r\\n\\r\\n[LOJ](/d/loj/)\\r\\n\\r\\n[AtCoder](/d/at
1coder/)\\r\\n\\r\\n</div></div>\\r\\n\\r\\n</div></div>\\r\\n\\r\\n<!-- <blockquote class=\\"note\\"></blockquote> -->\\r\\n\\r\\n","roles":{"guest":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831653805554995641330991233","default":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068423949272583209665","root":"-1","problem_provider":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068424107602257638097","problem_manager":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068425523773269080053","mute":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654063809447857636803201","download":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068423949272583210689"},"gravatar":"","join":{"method":1,"role":"root","expire":null},"avatar":"gravatar:[email protected]","share":"*","langs":"","lower":"system","union":["bzoj","uoj","luogu","poj","codeforces","spoj","ccf","loj"],"lastActive":"2024-04-08T14:12:47.313Z","swiper":"- title: Hello, Hydro!\\r\\n  image: /components/navigation/nav-logo-small_dark.png\\r\\n  url: /\\r\\n","config":{"swiper$data":"- title: Hello, Hydro!\\r\\n  image: /components/navigation/nav-logo-small_dark.png\\r\\n  url: /\\r\\n"}},"SWConfig":{"preload":"","hosts":["http://hydro.ac","https://hydro.ac","https://hydro.ac/","/"],"domains":["beta.hydro.ac","xtom-jp.hydro.ac","ali-hk.hydro.ac"]}},"UserContext":"{\\"_id\\":0,\\"mail\\":\\"[email protected]\\",\\"uname\\":\\"Guest\\",\\"hashType\\":\\"hydro\\",\\"priv\\":8,\\"regat\\":\\"1970-01-01T00:00:00.000Z\\",\\"loginat\\":\\"1970-01-01T00:00:00.000Z\\",\\"perm\\":\\"BigInt::10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831653805554995641330991233\\",\\"role\\":\\"guest\\",\\"scope\\":\\"BigInt::-1\\",\\"tfa\\":false,\\"authn\\":false,\\"group\\":[],\\"domains\\":[],\\"timeZone\\":\\"Asia/Shanghai\\",\\"codeLang\\":\\"cc.cc17o2\\",\\"avatar\\":\\"gravatar:[email protected]\\",\\"gender\\":2,\\"backgroundImage\\":\\"/components/profile/backgrounds/1.jpg\\",\\"unreadMsg\\":30,\\"pinnedDomains\\":[],\\"fontFamily\\":\\"Open Sans\\",\\"codeFontFamily\\":\\"Source Code Pro\\",\\"preferredEditorType\\":\\"sv\\",\\"monacoTheme\\":\\"vs-light\\",\\"theme\\":\\"light\\",\\"formatCode\\":true,\\"formatStyle\\":\\"BasedOnStyle: WebKit\\\\nBreakBeforeBraces: Custom\\\\nAllowShortCaseLabelsOnASingleLine: true\\\\nAllowShortBlocksOnASingleLine: true\\\\nAllowShortIfStatementsOnASingleLine: true\\\\nAllowShortLoopsOnASingleLine: true\\\\n\\",\\"plugins\\":[],\\"balance\\":20000,\\"star\\":true,\\"rpInfo\\":{},\\"avatarUrl\\":\\"//cn.gravatar.com/avatar/97119d3d15d5201ab506330ed4bab0f7?d=mm&s=128\\"}"}'));function z(e){let a=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=(0,i.useMemo)(()=>(0,o.e)(M),[]);return(0,r.ZP)(()=>e&&"/api/contest/".concat(e,"/problems"),n,{use:[(0,o.j)(q,a)]})}let I=t.Km(["problem","rank","record","records","total_score","user","solved","time"]),x=t.Ry({value:t.G0([t.Z_(),t.Rx()]),raw:t.G0([t.lB(),t.Z_()]),score:t.G0([t.Rx(),t.lB()]).optional()}),k=t.Ry({type:I,value:t.G0([t.Rx(),t.Z_()]),raw:t.G0([t.IX(x),t.Rx(),t.lB(),t.Z_()]).optional(),score:t.G0([t.Rx(),t.lB()]).optional(),style:t.G0([t.lB(),t.Z_()]).optional()}),S=t.Ry({_id:t.Rx(),mail:t.Z_(),uname:t.Z_(),avatar:t.Z_(),displayName:t.Z_()}),R=t.Ry({_id:t.Z_(),title:t.Z_(),docId:t.Rx(),pid:t.Z_().optional()}),C=t.Ry({tdoc:d.s6,tsdoc:b.nullable().transform(e=>null!=e?e:{attend:0,beginAt:s.ou.fromSeconds(0),endAt:s.ou.fromSeconds(0)}),rows:t.IX(t.IX(k)),udict:t.IM(t.Z_(),S),pdict:t.IM(t.Z_(),R),page_name:t.Z_()}),j=C.parse(JSON.parse('{"tdoc":{"_id":"645e688dcd521724464af308","content":"**置顶:非常抱歉,因与 APIO2023、THUPC2023 和洛谷 6 月月赛 I 时间冲突,比赛时间调至 6.10。**\\r\\n## 比赛介绍\\r\\n欢迎来到 Sadness Fan Club Round 2!我们是一个热爱 QQ 表情难过——也即 `/ng`——及其一系列衍生表情的出题组。\\r\\n\\r\\n感谢参与本场比赛准备工作的出题人和验题人 [joke3579](/user/20694)、[Leasier](/user/1874) 和 [xianggl](/user/6065),以及审核员 [undefined](/user/31) 和 [寒鸽儿](/user/401)。\\r\\n\\r\\n最后,欢迎各位加入我们以及 [CF 同名 Organization](https://codeforces.com/ratings/organization/36776)!\\r\\n## 题目列表\\r\\n| 序号 | 题目名称 | idea & std & data | check |\\r\\n| :-: | :-: | :-: | :-: |\\r\\n| A | 难过 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| B | 幽灵 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| C | 愤怒 | [Leasier](/user/1874) | [xianggl](/user/6065) |\\r\\n| D | 街舞 | [Leasier](/user/1874) | [joke3579](/user/20694) |\\r\\n## 比赛奖励\\r\\n- 四题首 A 分别奖励 $2$、$4$、$6$、$8$ 元。\\r\\n- AK 者平分 $25$ 元,向上取整。\\r\\n- 前三名再依次奖励 $15$、$10$、$5$ 元。\\r\\n- 在有分的选手中随机三人,每人 $1$ 元。使用[此代码](https://gist.github.com/Macesuted/53d37d799d92d44bae3e84224a98aaa9)随机,最终随机种子为比赛中最后一次提交的时、分、秒依次连接形成的六位数。\\r\\n## 外部链接\\r\\n- [公告帖](https://hydro.ac/discuss/6483c4a070306bb03574f336#1686357152105)\\r\\n- [赛时答疑帖](https://hydro.ac/discuss/6483c4c370306bb03574f382#1686357187680)\\r\\n- [赛后总结帖](https://hydro.ac/discuss/648584a770306bb0357a286c#1686471847639)","owner":31,"domainId":"system","docType":30,"docId":"645e688dcd521724464af308","duration":null,"title":"「SFCOI-2」Sadness Fan Club Round 2","rule":"oi","beginAt":"2023-06-10T05:00:00.000Z","endAt":"2023-06-10T09:00:00.000Z","pids":[279,280,282,281],"attend":58,"rated":true,"allowViewCode":true,"assign":[],"autoHide":false,"lockAt":null,"maintainer":[1874]},"tsdoc":{},"rows":[[{"type":"rank","value":"#"},{"type":"user","value":"用户"},{"type":"total_score","value":"总分数"},{"type":"problem","value":"A","raw":279},{"type":"problem","value":"B","raw":280},{"type":"problem","value":"C","raw":282},{"type":"problem","value":"D","raw":281}],[{"type":"rank","value":"1"},{"type":"user","value":"yixiuge777","raw":19758},{"type":"total_score","value":172},{"type":"record","value":"100","raw":"64843a1a70306bb035768c6e","score":100},{"type":"records","value":"","raw":[{"value":70,"raw":"6484333c4ca867adb0744b3e","score":70},{"value":100,"raw":"648583ed4ca867adb077537d","score":100}]},{"type":"record","value":"2","raw":"64843a9d70306bb035768ea4","score":2},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"2"},{"type":"user","value":"2759942374","raw":23744},{"type":"total_score","value":126},{"type":"record","value":"100","raw":"64842c4970306bb035765aae","score":100,"style":"background-color: rgb(217, 240, 199);"},{"type":"record","value":"26","raw":"64843a634ca867adb0746d4d","score":26},{"type":"record","value":"0","raw":"6484357e4ca867adb0745656","score":0},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"3"},{"type":"user","value":"liujiameng","raw":3309},{"type":"total_score","value":100},{"type":"records","value":"","raw":[{"value":90,"raw":"648413614ca867adb073d89b","score":90},{"value":100,"raw":"64858b3a70306bb0357a449e","score":100}]},{"type":"record","value":"-","raw":null},{"type":"record","value":"10","raw":"648431664ca867adb07445c6","
1score":10},{"type":"record","value":"0","raw":"648432f94ca867adb0744a97","score":0}],[{"type":"rank","value":"3"},{"type":"user","value":"IcMtr","raw":23698},{"type":"total_score","value":100},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"100","raw":"6484390d4ca867adb074668e","score":100,"style":"background-color: rgb(217, 240, 199);"}],[{"type":"rank","value":"3"},{"type":"user","value":"HHHE","raw":530},{"type":"total_score","value":100},{"type":"record","value":"-","raw":null},{"type":"record","value":"100","raw":"648436d270306bb035767f86","score":100,"style":"background-color: rgb(217, 240, 199);"},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"6"},{"type":"user","value":"sail_with_pleasure","raw":23740},{"type":"total_score","value":52},{"type":"record","value":"50","raw":"648420e84ca867adb07406e4","score":50},{"type":"record","value":"-","raw":null},{"type":"record","value":"2","raw":"6484327070306bb035766d5d","score":2},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"7"},{"type":"user","value":"33DAI","raw":518},{"type":"total_score","value":50},{"type":"record","value":"50","raw":"64842d854ca867adb0743a64","score":50},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"8"},{"type":"user","value":"c_cpp_a","raw":10362},{"type":"total_score","value":12},{"type":"record","value":"0","raw":"648436404ca867adb0745a22","score":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"2","raw":"6484376270306bb035768203","score":2},{"type":"record","value":"10","raw":"64843ace70306bb035768f7b","score":10}],[{"type":"rank","value":"8"},{"type":"user","value":"荷叶茶Ethereal","raw":1721},{"type":"total_score","value":12},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"2","raw":"6484087c70306bb03575d82c","score":2},{"type":"record","value":"10","raw":"648408244ca867adb073ba59","score":10}],[{"type":"rank","value":"10"},{"type":"user","value":"10283719010293","raw":18806},{"type":"total_score","value":2},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"2","raw":"6484075170306bb03575d508","score":2},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"10"},{"type":"user","value":"user_luogu","raw":22037},{"type":"total_score","value":2},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"64b4cc1dc23db44ef5e8ce4c","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"64b4cc29c23db44ef5e8ce6d","score":100}]},{"type":"records","value":"","raw":[{"value":2,"raw":"6484258e70306bb035763e86","score":2},{"value":100,"raw":"64b4cc3fc23db44ef5e8ceaa","score":100}]},{"type":"records","value":"","raw":[{"value":0,"raw":"6484256d4ca867adb07418a7","score":0},{"value":100,"raw":"64b4cb7350bcb9d548d3c00e","score":100}]}],[{"type":"rank","value":"12"},{"type":"user","value":"Leasier","raw":1874},{"type":"total_score","value":0},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"648577d470306bb03579f4e3","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"648577fa70306bb03579f56e","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"6485781e4ca867adb0772313","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"6485783b4ca867adb0772400","score":100}]}],[{"type":"rank","value":"12"},{"type":"user","value":"ILLusion","raw":9763},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"bye_wjx","raw":8566},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"许烈铭","raw":9885},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"HaoRan","raw":20944},{"type":"total_score","value":0},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"65dc26a83a595378dc14241f","score":100}]},{"type":"record","value":"-","raw":null},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"65844422e0f75008445b8d97","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"65844b839ff78e9893d87c9c","score":100}]}],[{"type":"rank","value":"12"},{"type":"user","value":"zhouyusd","raw":12466},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"eleylyx","raw":22373},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"剩下的盛夏","raw":6976},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"梁可为","raw":18779},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"}
1,{"type":"user","value":"kangyuecheng","raw":11371},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"wbq","raw":9682},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"sulaoshi","raw":22320},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"zhongyq","raw":19340},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"我是老六1号","raw":8579},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"bjcjh","raw":19806},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"欲雨的doge","raw":22606},{"type":"total_score","value":0},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"6546531ce8273fafdb720624","score":100}]},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"bszzz","raw":13130},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"王靖翔","raw":9971},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"zhang_kevin","raw":9704},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"lfxxzms","raw":19744},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"Dark1Bunting8","raw":18586},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"丁泓森","raw":13495},{"type":"total_score","value":0},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"6485859770306bb0357a2c9f","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"6485861e4ca867adb0775de0","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"648586c670306bb0357a3294","score":100}]},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":100,"raw":"648587604ca867adb07764e3","score":100}]}],[{"type":"rank","value":"12"},{"type":"user","value":"唐盛泽","raw":19680},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"Fhindfnc","raw":19774},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"Cafard","raw":5717},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"guanyf","raw":21339},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"hank0402","raw":957},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"cjh20090318","raw":18082},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"alphaxulieming","raw":21083},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"sunqirui","raw":23192},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"2022tysc0782","raw":20955},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"terryjiang","raw":23139},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"liuser","raw":563},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"kawaiitearing","raw":1152},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"Acestar","raw":3457},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"evil0th","raw":21921},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"xiaoququ","raw":5691},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"yr317430","raw":8250},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"HpyX","raw":1987},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"myee","raw":822},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"y_kx_b","raw":11959},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"周群杰","raw":17467},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"Challestend","raw":17764},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"SUPERSTAR_YOSHI","raw":7870},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"wanghan_001","raw":23745},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"tianbiandeshenghuo","raw":9296},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"records","value":"","raw":[{"value":"-","raw":null},{"value":2,"raw":"65261b2025099fce145ca322","score":2}]},{"type":"record","value":"-","raw":null}],[{"type":"rank","value":"12"},{"type":"user","value":"vvauted","raw":6564},{"type":"total_score","value":0},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null},{"type":"record","value":"-","raw":null}]],"udict":{"518":{"_id":518,"mail":"[email protected]","uname":"33DAI","avatar":"url:/file/518/.avatar.webp","school":"","studentId":"","displayName":"33dai"},"530":{"_id":530,"mail":"[email protected]","uname":"HHHE","avatar":"gravatar:[email protected]","displayName":"HHHE","school":"","studentId":""},"563":{"_id":563,"mail":"[email protected]","uname":"liuser","avatar":"qq:1364468428","displayName":"liuser","school":"","studentId":""},"822":{"_id":822,"mail":"[email protected]","uname":"myee","avatar":"github:myeeye","school":"","studentId":"","displayName":"myee"},"957":{"_id":957,"mail":"[email protected]","uname":"hank0402","avatar":"qq:9761011","school":"","studentId":"","displayName":"‮2040knah"},"1152":{"_id":1152,"mail":"[email protected]","uname":"kawaiitearing","avatar":"url:/file/1152/.avatar.webp","displayName":"kawaiitearing","school":"","studentId":""},"1721":{"_id":1721,"mail":"[email protected]","uname":"荷叶茶Ethereal","avatar":"url:/file/1721/.avatar.webp","school":"","studentId":"","displayName":"荷叶茶Ethereal"},"1874":{"_id":1874,"mail":"[email protected]","uname":"Leasier","avatar":"url:/file/1874/.avatar.webp","displayName":"Leasier","school":"","studentId":""},"1987":{"_id":1987,"mail":"[email protected]","uname":"HpyX","avatar":"qq:2104169054","school":"","studentId":"","displayName":"HpyX"},"3309":{"_id":3309,"mail":"[email protected]","uname":"liujiameng","avatar":"url:/file/3309/.avatar.webp","school":"","studentId":"","displayName":"‮nomliM"},"3457":{"_id":3457,"mail":"[email protected]","uname":"Acestar","avatar":"url:https://acestarr.github.io/images/avatar.jpg","school":"","studentId":"","displayName":"Acestar"},"5691":{"_id":5691,"mail":"[email protected]","uname":"xiaoququ","avatar":"qq:1107439216","school":"","studentId":"","displayName":"xiaoququ"}
1,"5717":{"_id":5717,"mail":"[email protected]","uname":"Cafard","avatar":"qq:2578076879","displayName":"Cafard","school":"","studentId":""},"6564":{"_id":6564,"mail":"[email protected]","uname":"vvauted","avatar":"gravatar:[email protected]","school":"","studentId":"","displayName":"vvauted"},"6976":{"_id":6976,"mail":"[email protected]","uname":"剩下的盛夏","avatar":"qq:903454996","displayName":"剩下的盛夏","school":"","studentId":""},"7870":{"_id":7870,"mail":"[email protected]","uname":"SUPERSTAR_YOSHI","avatar":"gravatar:[email protected]","school":"","studentId":"","displayName":"SUPERSTAR_YOSHI"},"8250":{"_id":8250,"mail":"[email protected]","uname":"yr317430","avatar":"github:","school":"","studentId":"","displayName":"yr317430"},"8566":{"_id":8566,"mail":"[email protected]","uname":"bye_wjx","avatar":"qq:2741412863","school":"","studentId":"","displayName":"bye_wjx"},"8579":{"_id":8579,"mail":"[email protected]","uname":"我是老六1号","avatar":"qq:2720673937","school":"白鹿小学","studentId":"114514","displayName":"我是老六1号"},"9296":{"_id":9296,"mail":"[email protected]","uname":"tianbiandeshenghuo","avatar":"gravatar:[email protected]","school":"","studentId":"","displayName":"tianbiandeshenghuo"},"9682":{"_id":9682,"mail":"[email protected]","uname":"wbq","avatar":"github:wbqyyds","school":"","studentId":"","displayName":"wbq"},"9704":{"_id":9704,"mail":"[email protected]","uname":"zhang_kevin","avatar":"gravatar:[email protected]","school":"","studentId":"","displayName":"zhang_kevin"},"9763":{"_id":9763,"mail":"[email protected]","uname":"ILLusion","avatar":"qq:1342959","school":"江苏省天一中学","studentId":"","displayName":"ILLusion"},"9885":{"_id":9885,"mail":"[email protected]","uname":"许烈铭","avatar":"qq:2185456569","school":"哈佛大学","studentId":"9885","displayName":"许烈铭"},"9971":{"_id":9971,"mail":"[email protected]","uname":"王靖翔","avatar":"url:https://pic.rmb.bdstatic.com/9cfcbcb12e4205e8eef04cff25c604cc4735.gif","school":"北大宝坻附属实验学校","studentId":"1145141919810","displayName":"离线模式"},"10362":{"_id":10362,"mail":"[email protected]","uname":"c_cpp_a","avatar":"gravatar:[email protected]","school":"","studentId":"","displayName":"c_cpp_a"},"11371":{"_id":11371,"mail":"[email protected]","uname":"kangyuecheng","avatar":"url:/file/11371/.avatar.webp","school":"","studentId":"","displayName":"kangyuecheng"},"11959":{"_id":11959,"mail":"[email protected]","uname":"y_kx_b","avatar":"url:https://cdn.luogu.com.cn/upload/usericon/592895.png","school":"","studentId":"","displayName":"y_kx_b"},"12466":{"_id":12466,"mail":"[email protected]","uname":"zhouyusd","avatar":"gravatar:[email protected]","displayName":"zhouyusd","school":"","studentId":""},"13130":{"_id":13130,"mail":"[email protected]","uname":"bszzz","avatar":"url:/file/13130/.avatar.webp","school":"","studentId":"","displayName":"Oier"},"13495":{"_id":13495,"mail":"[email protected]","uname":"丁泓森","avatar":"gravatar:","school":"","studentId":"","displayName":"丁泓森"},"17467":{"_id":17467,"mail":"[email protected]","uname":"周群杰","avatar":"qq:979472088","school":"","studentId":"","displayName":"周群杰"},"17764":{"_id":17764,"mail":"[email protected]","uname":"Challestend","avatar":"qq:624985391","school":"","studentId":"","displayName":"Challestend"},"18082":{"_id":18082,"mail":"[email protected]","uname":"cjh20090318","avatar":"qq:1756802523","school":"西南大学附属中学","studentId":"c11202417","displayName":"cjh20090318"},"18586":{"_id":18586,"mail":"[email protected]","uname":"Dark1Bunting8","avatar":"qq:7999923","displayName":"Dark1Bunting8","school":"","studentId":""},"18779":{"_id":18779,"mail":"[email protected]","uname":"梁可为","avatar":"qq:245167887","school":"","studentId":"","displayName":"梁可为"},"18806":{"_id":18806,"mail":"[email protected]","uname":"10283719010293","avatar":"gravatar:","school":"","studentId":"","displayName":"10283719010293"},"19340":{"_id":19340,"mail":"[email protected]","uname":"zhongyq","avatar":"url:/file/19340/.avatar.webp","school":"","studentId":"","displayName":"zhongyq"},"19680":{"_id":19680,"mail":"[email protected]","uname":"唐盛泽","avatar":"qq:2277503582","school":"","studentId":"","displayName":"唐盛泽"},"19744":{"_id":19744,"mail":"[email protected]","uname":"lfxxzms","avatar":"url:/file/19744/.avatar.webp","school":"","studentId":"","displayName":"lfxxzms"},"19758":{"_id":19758,"mail":"[email protected]","uname":"yixiuge777","avatar":"qq:1090129005","displayName":"yixiuge777","school":"","studentId":""},"19774":{"_id":19774,"mail":"[email protected]","uname":"Fhindfnc","avatar":"url:/file/19774/.avatar.webp","school":"","studentId":"","displayName":"Fhindfnc"},"19806":{"_id":19806,"mail":"[email protected]","uname":"bjcjh","avatar":"gravatar:[email protected]","displayName":"bjcjh","school":"","studentId":""},"20944":{"_id":20944,"mail":"[email protected]","uname":"HaoRan","avatar":"url:/file/20944/.avatar.webp","school":"清华大学","studentId":"20944","displayName":"达芬不奇"},"20955":{"_id":20955,"mail":"[email protected]","uname":"2022tysc0782","avatar":"qq:136536368","displayName":"2022tysc0782","school":"","studentId":""},"21083":{"_id":21083,"mail":"[email protected]","uname":"alphaxulieming","avatar":"qq:2185456569","school":"哈佛大学","studentId":"","displayName":"alphaxulieming"},"21339":{"_id":21339,"mail":"[email protected]","uname":"guanyf","avatar":"qq:468907663","displayName":"guanyf","school":"","studentId":""},"21921":{"_id":21921,"mail":"[email protected]","uname":"evil0th","avatar":"gravatar:[email protected]","school":"","studentId":"","displayName":"evil0th"},"22037":{"_id":22037,"mail":"[email protected]","uname":"user_luogu","avatar":"qq:3574115828","school":"","studentId":"","displayName":"user_luogu"},"22320":{"_id":22320,"mail":"[email protected]","uname":"sulaoshi","avatar":"qq:2524126325","school":"","studentId":"","displayName":"sulaoshi"},"22373":{"_id":22373,"mail":"[email protected]","uname":"eleylyx","avatar":"gravatar:[email protected]","displayName":"eleylyx","school":"","studentId":""},"22606":{"_id":22606,"mail":"[email protected]","uname":"欲雨的doge","avatar":"url:/file/22606/.avatar.webp","school":"","studentId":"","displayName":"欲雨的doge"},"23139":{"_id":23139,"mail":"[email protected]","uname":"terryjiang","avatar":"gravatar:[email protected]","displayName":"terryjiang","school":"","studentId":""},"23192":{"_id":23192,"mail":"[email protected]","uname":"sunqirui","avatar":"qq:3382999165","displayName":"sunqirui","school":"","studentId":""},"23698":{"_id":23698,"mail":"[email protected]","uname":"IcMtr","avatar":"qq:653755015","displayName":"IcMtr","school":"","studentId":""},"23740":{"_id":23740,"mail":"[email protected]","uname":"sail_with_pleasure","avatar":"qq:2431686175","displayName":"sail_with_pleasure","school":"","studentId":""}
1,"23744":{"_id":23744,"mail":"[email protected]","uname":"2759942374","avatar":"github:2759942374","displayName":"2759942374","school":"","studentId":""},"23745":{"_id":23745,"mail":"[email protected]","uname":"wanghan_001","avatar":"qq:50801255","displayName":"wanghan_001","school":"","studentId":""}},"pdict":{"279":{"_id":"645e67fde3f1072df0af9684","content":"{\\"zh\\":\\"### 题目背景\\\\n初三时,小 L 因为道德与法治考试痛苦不堪,于是他开始思考如何让订正和复习的时间之和最小。\\\\n### 题目描述\\\\n在某次考试中,共有 $n$ 道非选择题,其中第 $i$ 道题**涉及且仅涉及**第 $p_i$ 个知识点。一共有 $m$ 个知识点,编号为 $1 \\\\\\\\sim m$。\\\\n\\\\n由于爆零了,小 L 被要求订正这张卷子。对于某个知识点 $x$,你要么选择在卷子上**每道**与它有关的题旁边抄上其对应的知识点,要么选择将其对应的知识点标注在书上**恰好一次**并且在**每道**对应题目旁记录下该知识点在书上的位置。若要将其抄在卷子上,需要花费时间 $a_x$;若要将其在书上标注,需要花费时间 $b_x$;若要将其在书上的位置记录在对应题目旁,需要花费时间 $c_x$。\\\\n\\\\n他假定他在接下来的日子里要复习这张卷子 $k$ 轮。当他在某一轮中复习某道题时,假定其对应知识点为 $x$,若他将知识点 $x$ 抄在了卷子上,他需要用 $d_x$ 的时间背诵这个知识点;否则,他需要用 $e_x$ 的时间在书上找到并背诵这个知识点(**但如果他在这一轮复习中已经背诵过这个知识点了,他不会再背一次**)。\\\\n\\\\n现在他不想订正了,于是他给你 $q$ 个询问,每个询问包含一个整数 $k$,表示求出订正一次和复习 $k$ 次的时间之和的最小值。\\\\n### 输入格式\\\\n第一行,三个整数 $n, m, q$;\\\\n\\\\n第二行,$n$ 个整数 $p_1, p_2, \\\\\\\\cdots, p_n$;\\\\n\\\\n第三行,$m$ 个整数 $a_1, a_2, \\\\\\\\cdots, a_m$;\\\\n\\\\n第四行,$m$ 个整数 $b_1, b_2, \\\\\\\\cdots, b_m$;\\\\n\\\\n第五行,$m$ 个整数 $c_1, c_2, \\\\\\\\cdots, c_m$;\\\\n\\\\n第六行,$m$ 个整数 $d_1, d_2, \\\\\\\\cdots, d_m$;\\\\n\\\\n第七行,$m$ 个整数 $e_1, e_2, \\\\\\\\cdots, e_m$;\\\\n\\\\n接下来 $q$ 行,每行一个整数 $k$。\\\\n### 输出格式\\\\n$q$ 行,每行一个整数,表示所求的值。\\\\n### 样例 #1\\\\n#### 样例输入 #1\\\\n```\\\\n6 6 3\\\\n1 1 4 5 1 4\\\\n3 4 5 6 7 8\\\\n2 3 4 5 6 7\\\\n1 2 3 4 5 6\\\\n6 5 4 3 2 1\\\\n7 6 5 4 3 2\\\\n1\\\\n3\\\\n5\\\\n```\\\\n#### 样例输出 #1\\\\n```\\\\n36\\\\n60\\\\n83\\\\n```\\\\n### 数据范围\\\\n对于 $10\\\\\\\\%$ 的数据,$1 \\\\\\\\leq m \\\\\\\\leq 10$,$1 \\\\\\\\leq q \\\\\\\\leq 5 \\\\\\\\times 10^3$;\\\\n\\\\n对于 $30\\\\\\\\%$ 的数据,$1 \\\\\\\\leq m, q \\\\\\\\leq 5 \\\\\\\\times 10^3$;\\\\n\\\\n对于 $50\\\\\\\\%$ 的数据,$1 \\\\\\\\leq m, q \\\\\\\\leq 10^5$;\\\\n\\\\n对于另 $20\\\\\\\\%$ 的数据,$1 \\\\\\\\leq k \\\\\\\\leq q = 500$;\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n, m, q \\\\\\\\leq 3 \\\\\\\\times 10^5$,$1 \\\\\\\\leq p_i \\\\\\\\leq m$,$1 \\\\\\\\leq c_i < b_i < a_i \\\\\\\\leq 10^9$,$1 \\\\\\\\leq d_i < e_i \\\\\\\\leq 5 \\\\\\\\times 10^5$,$1 \\\\\\\\leq k \\\\\\\\leq 10^8$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":279,"title":"「SFCOI-2」难过","data":[{"_id":"config.yaml","name":"config.yaml","size":594,"lastModified":"2023-05-12T16:23:25.708Z","etag":"\\"93e16dffad49dec2633de59245751997\\""},{"_id":"sub1.in","name":"sub1.in","size":669715,"lastModified":"2023-05-12T16:23:25.856Z","etag":"\\"b7a82983a63f1cb15de7858e94edfbbb\\""},{"_id":"sub1.out","name":"sub1.out","size":82142,"lastModified":"2023-05-12T16:23:25.908Z","etag":"\\"e5c874c98ee1786a01b06ea94bc8d792\\""},{"_id":"sub10.in","name":"sub10.in","size":18488930,"lastModified":"2023-05-12T16:23:26.752Z","etag":"\\"2cf2b981327c8795b8b1cb071a0d5f2b-7\\""},{"_id":"sub10.out","name":"sub10.out","size":6600000,"lastModified":"2023-05-12T16:23:27.385Z","etag":"\\"f9ca62976071d4588499d299f93b2ee5-3\\""},{"_id":"sub2.in","name":"sub2.in","size":1684439,"lastModified":"2023-05-12T16:23:27.726Z","etag":"\\"512e2cd8764e11747da4e570b1f27fe1\\""},{"_id":"sub2.out","name":"sub2.out","size":87796,"lastModified":"2023-05-12T16:23:27.797Z","etag":"\\"4e8ff218abd283651d2b04328a94f435\\""}
1,{"_id":"sub3.in","name":"sub3.in","size":1684678,"lastModified":"2023-05-12T16:23:28.045Z","etag":"\\"8c2dd8687e361f86e1cbd31d9db6eccf\\""},{"_id":"sub3.out","name":"sub3.out","size":87832,"lastModified":"2023-05-12T16:23:28.115Z","etag":"\\"afc0ee246eefe218373ab2218f296dd7\\""},{"_id":"sub4.in","name":"sub4.in","size":6789399,"lastModified":"2023-05-12T16:23:29.071Z","etag":"\\"fd715295c33c8aec7fcc916e13ecc9ac-3\\""},{"_id":"sub4.out","name":"sub4.out","size":1869556,"lastModified":"2023-05-12T16:23:29.403Z","etag":"\\"95e3d936174bf74c5753f9e43ab23572\\""},{"_id":"sub5.in","name":"sub5.in","size":6789730,"lastModified":"2023-05-12T16:23:30.279Z","etag":"\\"e1bc529410baed03a03ef408b7a3adab-3\\""},{"_id":"sub5.out","name":"sub5.out","size":1869891,"lastModified":"2023-05-12T16:23:30.605Z","etag":"\\"67c31cd30be64a1aa38c2a3c1ccf73bc\\""},{"_id":"sub6.in","name":"sub6.in","size":14692736,"lastModified":"2023-05-12T16:23:31.686Z","etag":"\\"5b53ac97243974fadb3de0741f62b697-6\\""},{"_id":"sub6.out","name":"sub6.out","size":8071,"lastModified":"2023-05-12T16:23:31.714Z","etag":"\\"e2fc70e3ba87e28dacf1e5824bb10bae\\""},{"_id":"sub7.in","name":"sub7.in","size":14693139,"lastModified":"2023-05-12T16:23:32.791Z","etag":"\\"52b6e077fac4e67306e9ed28ee23cf9f-6\\""},{"_id":"sub7.out","name":"sub7.out","size":8071,"lastModified":"2023-05-12T16:23:32.841Z","etag":"\\"2d2f5955f2ae83938ee111883f662ea1\\""},{"_id":"sub8.in","name":"sub8.in","size":17056348,"lastModified":"2023-05-12T16:23:33.772Z","etag":"\\"1a710740dc5285596bfbbf5d668dfc7f-7\\""},{"_id":"sub8.out","name":"sub8.out","size":5657977,"lastModified":"2023-05-12T16:23:34.207Z","etag":"\\"33c2a9dd002930e79889c2fb235967d1-3\\""},{"_id":"sub9.in","name":"sub9.in","size":17058399,"lastModified":"2023-05-12T16:23:35.391Z","etag":"\\"71f0bdedcd8e540838cf79252d0aae2f-7\\""},{"_id":"sub9.out","name":"sub9.out","size":5658147,"lastModified":"2023-05-12T16:23:35.856Z","etag":"\\"9d0570d98bd966c07b33ca2acd686976-3\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":1000,"timeMax":1000,"type":"default"},"html":false,"pid":"SFCR2A","nSubmit":23,"nAccept":2},"280":{"_id":"645e6807e3f1072df0af9687","content":"{\\"zh\\":\\"### 题目描述\\\\n小 L 有一张 $n$ 个点的**无向图**。\\\\n\\\\n他认为不互质的一对数是有趣的,于是他规定:在这张图上,$u, v$ 两点之间有边,**当且仅当 $u, v$ 不互质**。\\\\n\\\\n现在,他希望在这张图上进行一次游走。\\\\n\\\\n具体地,他希望求出一个**可以是非简单路径的**路径 $P$。\\\\n\\\\n- 为了游览沿途更丰富的风景,他想要让 $P$ 中**本质不同点数**最多。\\\\n- 为了游览时不走太多路,他想要让 $P$ 的**总点数**最短。\\\\n\\\\n请你求出一个符合上述条件的路径 $P$。\\\\n### 输入格式\\\\n一行,一个整数 $n$。\\\\n### 输出格式\\\\n第一行,一个整数 $|P|$,表示你求出的路径 $P$ 的总点数;\\\\n\\\\n第二行,$|P|$ 个整数 $P_1, P_2, \\\\\\\\cdots, P_{|P|}$,依次表示路径 $P$ 上的每个点。\\\\n\\\\n**若有多种最优方案,你可以输出任意一种。**\\\\n\\\\n**若你的方案的本质不同点数与最优方案相同,但总点数多于最优方案,你也可以获得一些分数,详见「评测说明」。**\\\\n### 样例 #1\\\\n#### 样例输入 #1\\\\n```\\\\n4\\\\n```\\\\n#### 样例输出 #1\\\\n```\\\\n2\\\\n2 4\\\\n```\\\\n### 样例 #2\\\\n#### 样例输入 #2\\\\n```\\\\n6\\\\n```\\\\n#### 样例输出 #2\\\\n```\\\\n4\\\\n2 4 6 3\\\\n```\\\\n### 样例 #3\\\\n#### 样例输入 #3\\\\n```\\\\n9\\\\n```\\\\n#### 样例输出 #3\\\\n```\\\\n6\\\\n8 4 2 6 3 9\\\\n```\\\\n### 样例 #4\\\\n#### 样例输入 #4\\\\n```\\\\n15\\\\n```\\\\n#### 样例输出 #4\\\\n```\\\\n12\\\\n2 8 10 5 15 6 9 3 12 4 14 7\\\\n```\\\\n### 评测说明\\\\n**本题开启 Special Judge。**\\\\n\\\\n设最优解中的路径为 $P_0$,你求出的路径为 $P$。\\\\n\\\\n设 $F(P)$ 表示 $P$ 中本质不同点的个数,则:\\\\n\\\\n- 若 $P$ 不合法或 $F(P) < F(P_0)$,你可以得到当前测试点 $0\\\\\\\\%$ 的分数。\\\\n- 否则,你可以得到当前测试点 $w(|P|, |P_0|)\\\\\\\\%$ 的分数,其中 $w(x, y)$ 的定义如下:\\\\n\\\\n$$\\\\nw(x, y) = \\\\n\\\\\\\\begin{cases}\\\\n0 & (x > \\\\\\\\lceil 1.07 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n20 & (\\\\\\\\lceil 1.03 y \\\\\\\\rceil < x \\\\\\\\leq \\\\\\\\lceil 1.07 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n40 & (\\\\\\\\lceil 1.01 y \\\\\\\\rceil < x \\\\\\\\leq \\\\\\\\lceil 1.03 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n60 & (y < x \\\\\\\\leq \\\\\\\\lceil 1.01 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n100 & (x \\\\\\\\leq y)\\\\n\\\\\\\\end{cases}\\\\n$$\\\\n### 数据范围\\\\n对于 $20\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10$;\\\\n\\\\n对于 $40\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 100$;\\\\n\\\\n对于 $60\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10^3$;\\\\n\\\\n对于 $80\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10^4$;\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10^5$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":280,"title":"「SFCOI-2」幽灵","data":[{"_id":"checker.cpp","name":"checker.cpp","size":1936,"lastModified":"2023-06-11T07:55:36.292Z","etag":"\\"a79ef67e81287d991212f433ca4265a1\\""},{"_id":"config.yaml","name":"config.yaml","size":1137,"lastModified":"2023-05-12T16:23:35.939Z","etag":"\\"5e9072d3429b5de62631540494194b0a\\""},{"_id":"sub1.in","name":"sub1.in","size":1,"lastModified":"2023-05-12T16:23:36.010Z","etag":"\\"eccbc87e4b5ce2fe28308fd9f2a7baf3\\""},{"_id":"sub1.out","name":"sub1.out","size":4,"lastModified":"2023-05-12T16:23:36.053Z","etag":"\\"75be138a16d731480f5c020e875deb61\\""},{"_id":"sub10.in","name":"sub10.in","size":3,"lastModified":"2023-05-12T16:23:36.090Z","etag":"\\"0b8aff0438617c055eb55f0ba5d226fa\\""},{"_id":"sub10.out","name":"sub10.out","size":3687,"lastModified":"2023-05-12T16:23:36.125Z","etag":"\\"21a75e6c77d
1aef0847155306fd9c66ac\\""},{"_id":"sub11.in","name":"sub11.in","size":3,"lastModified":"2023-05-12T16:23:36.161Z","etag":"\\"0b8aff0438617c055eb55f0ba5d226fa\\""},{"_id":"sub11.out","name":"sub11.out","size":3687,"lastModified":"2023-05-12T16:23:36.198Z","etag":"\\"21a75e6c77daef0847155306fd9c66ac\\""},{"_id":"sub12.in","name":"sub12.in","size":4,"lastModified":"2023-05-12T16:23:36.242Z","etag":"\\"a9b7ba70783b617e9998dc4dd82eb3c5\\""},{"_id":"sub12.out","name":"sub12.out","size":3708,"lastModified":"2023-05-12T16:23:36.310Z","etag":"\\"cd6afccc138afbca9ed0178504818288\\""},{"_id":"sub13.in","name":"sub13.in","size":4,"lastModified":"2023-05-12T16:23:36.364Z","etag":"\\"07470878bde1b126f2cc4b0f9d9b9798\\""},{"_id":"sub13.out","name":"sub13.out","size":45947,"lastModified":"2023-05-12T16:23:36.416Z","etag":"\\"8237aa92e2c3e341325507b9476c37af\\""},{"_id":"sub14.in","name":"sub14.in","size":4,"lastModified":"2023-05-12T16:23:36.471Z","etag":"\\"f5b2aa928f940f3f09a0d14f45a27875\\""},{"_id":"sub14.out","name":"sub14.out","size":46127,"lastModified":"2023-05-12T16:23:36.531Z","etag":"\\"578254be0907fb4ca8fd2bba39c2f345\\""},{"_id":"sub15.in","name":"sub15.in","size":4,"lastModified":"2023-05-12T16:23:36.578Z","etag":"\\"fa246d0262c3925617b0c72bb20eeb1d\\""},{"_id":"sub15.out","name":"sub15.out","size":47077,"lastModified":"2023-05-12T16:23:36.633Z","etag":"\\"1e8a4fa69f2751c6e984293980127393\\""},{"_id":"sub16.in","name":"sub16.in","size":4,"lastModified":"2023-05-12T16:23:36.682Z","etag":"\\"fa246d0262c3925617b0c72bb20eeb1d\\""},{"_id":"sub16.out","name":"sub16.out","size":47077,"lastModified":"2023-05-12T16:23:36.755Z","etag":"\\"1e8a4fa69f2751c6e984293980127393\\""},{"_id":"sub17.in","name":"sub17.in","size":5,"lastModified":"2023-05-12T16:23:36.790Z","etag":"\\"6f262979e04cf4536ffe1cee80244b1d\\""},{"_id":"sub17.out","name":"sub17.out","size":551213,"lastModified":"2023-05-12T16:23:36.888Z","etag":"\\"720b46a54cfaf26bc145e310e2f02f6c\\""},{"_id":"sub18.in","name":"sub18.in","size":5,"lastModified":"2023-05-12T16:23:36.929Z","etag":"\\"68f163be71a8e06ea4b80affaabed8d3\\""},{"_id":"sub18.out","name":"sub18.out","size":568385,"lastModified":"2023-05-12T16:23:37.018Z","etag":"\\"2698fed6bcde84a3650a244e124b2c12\\""},{"_id":"sub19.in","name":"sub19.in","size":5,"lastModified":"2023-05-12T16:23:37.062Z","etag":"\\"3b733e9b2fdc8d4cb71e9c2d24e962e4\\""},{"_id":"sub19.out","name":"sub19.out","size":569939,"lastModified":"2023-05-12T16:23:37.151Z","etag":"\\"720f11899a79c2c1a1eb854466c4ca18\\""},{"_id":"sub2.in","name":"sub2.in","size":1,"lastModified":"2023-05-12T16:23:37.190Z","etag":"\\"8f14e45fceea167a5a36dedd4bea2543\\""},{"_id":"sub2.out","name":"sub2.out","size":10,"lastModified":"2023-05-12T16:23:37.231Z","etag":"\\"ddc7f3c48747bee1418d3b791c2c521f\\""},{"_id":"sub20.in","name":"sub20.in","size":5,"lastModified":"2023-05-12T16:23:37.266Z","etag":"\\"38cd25eef32ce199040104771f471f5b\\""},{"_id":"sub20.out","name":"sub20.out","size":571385,"lastModified":"2023-05-12T16:23:37.334Z","etag":"\\"512cf3281a9b72f0da66013cf6b1e334\\""},{"_id":"sub3.in","name":"sub3.in","size":1,"lastModified":"2023-05-12T16:23:37.367Z","etag":"\\"c9f0f895fb98ab9159f51fd0297e236d\\""},{"_id":"sub3.out","name":"sub3.out","size":12,"lastModified":"2023-05-12T16:23:37.414Z","etag":"\\"7096cd34a2537d1cd0fa71b7e76c2414\\""},{"_id":"sub4.in","name":"sub4.in","size":2,"lastModified":"2023-05-12T16:23:37.455Z","etag":"\\"d3d9446802a44259755d38e6d163e820\\""},{"_id":"sub4.out","name":"sub4.out","size":20,"lastModified":"2023-05-12T16:23:37.506Z","etag":"\\"f794e72767f5cfc8bf80004b4a953a4a\\""},{"_id":"sub5.in","name":"sub5.in","size":2,"lastModified":"2023-05-12T16:23:37.548Z","etag":"\\"98f13708210194c475687be6106a3b84\\""},{"_id":"sub5.out","name":"sub5.out","size":41,"lastModified":"2023-05-12T16:23:37.582Z","etag":"\\"580f6ff21f25c66142c5530f94d59b09\\""},{"_id":"sub6.in","name":"sub6.in","size":2,"lastModified":"2023-05-12T16:23:37.617Z","etag":"\\"812b4ba287f5ee0bc9d43bbf5bbe87fb\\""},{"_id":"sub6.out","name":"sub6.out","size":257,"lastModified":"2023-05-12T16:23:37.663Z","etag":"\\"23c7c9c5e6a7251b3af64319ccc207dc\\""},{"_id":"sub7.in","name":"sub7.in","size":2,"lastModified":"2023-05-12T16:23:37.697Z","etag":"\\"26657d5ff9020d2abefe558796b99584\\""},{"_id":"sub7.out","name":"sub7.out","size":260,"lastModified":"2023-05-12T16:23:37.744Z","etag":"\\"e5ccae4c3207447936c7af4a315aa1b9\\""}
1,{"_id":"sub8.in","name":"sub8.in","size":2,"lastModified":"2023-05-12T16:23:37.789Z","etag":"\\"e2ef524fbf3d9fe611d5a8e90fefdc9c\\""},{"_id":"sub8.out","name":"sub8.out","size":260,"lastModified":"2023-05-12T16:23:37.837Z","etag":"\\"e5ccae4c3207447936c7af4a315aa1b9\\""},{"_id":"sub9.in","name":"sub9.in","size":3,"lastModified":"2023-05-12T16:23:37.876Z","etag":"\\"ca75910166da03ff9d4655a0338e6b09\\""},{"_id":"sub9.out","name":"sub9.out","size":3595,"lastModified":"2023-05-12T16:23:37.915Z","etag":"\\"a9163cc5334031d7adc2780c2fb09e05\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":1000,"timeMax":1000,"type":"default"},"html":false,"pid":"SFCR2B","nSubmit":9,"nAccept":1},"281":{"_id":"645e6809e3f1072df0af9689","content":"{\\"zh\\":\\"### 题目背景\\\\n小 L 正在尝试解决 CF 上的一道 2A。\\\\n### 题目描述\\\\n小 L 不会做,于是他给你一个整数 $n$,请你对于所有 $1 \\\\\\\\leq i, j \\\\\\\\leq n$,求出 $\\\\\\\\lambda(\\\\\\\\operatorname{lcm}(i, j))$ 的和,其中 $\\\\\\\\lambda(n)$ 在 $n$ 的**不去重**质因数个数有偶数个时取 $1$,其他时候取 $-1$。\\\\n\\\\n由于结果可能很大,你只需要求出结果对 $2^{32}$ 取模的值。\\\\n### 输入格式\\\\n**本题有多组测试数据。**\\\\n\\\\n第一行,一个整数 $T$,表示数据组数;\\\\n\\\\n对于每组数据:\\\\n\\\\n一行,一个整数 $n$。\\\\n### 输出格式\\\\n对于每组数据,输出一行,一个整数,表示所求的值。\\\\n\\\\n```input1\\\\n1\\\\n10\\\\n```\\\\n\\\\n```output1\\\\n2\\\\n```\\\\n### 提示\\\\n对于 $10\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^3$;\\\\n\\\\n对于 $30\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^6$;\\\\n\\\\n对于 $50\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^9$;\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^{10}$,$1 \\\\\\\\leq T \\\\\\\\leq 10$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":281,"title":"「SFCOI-2」街舞","data":[{"_id":"config.yaml","name":"config.yaml","size":594,"lastModified":"2023-05-12T16:23:37.970Z","etag":"\\"9c2127cdfe1810d44612eabc921656d3\\""},{"_id":"sub1.in","name":"sub1.in","size":43,"lastModified":"2023-05-12T16:23:38.032Z","etag":"\\"c1274261d6134d948b1accd043bcf5f9\\""},{"_id":"sub1.out","name":"sub1.out","size":120,"lastModified":"2023-05-12T16:23:38.068Z","etag":"\\"544b2fc7791020a669fccb5078b137f6\\""},{"_id":"sub10.in","name":"sub10.in","size":113,"lastModified":"2023-05-12T16:23:38.106Z","etag":"\\"e6d72e8e7ed9f3b68d8973e94e9fae89\\""},{"_id":"sub10.out","name":"sub10.out","size":119,"lastModified":"2023-05-12T16:23:38.153Z","etag":"\\"a8ef2a1216f409918909051e11c773ea\\""},{"_id":"sub2.in","name":"sub2.in","size":72,"lastModified":"2023-05-12T16:23:38.189Z","etag":"\\"89b8dfaa0465f89d6a3c53419431e90b\\""},{"_id":"sub2.out","name":"sub2.out","size":96,"lastModified":"2023-05-12T16:23:38.242Z","etag":"\\"323d69bc90a2a5782ee22d69ce0624ac\\""},{"_id":"sub3.in","name":"sub3.in","size":73,"lastModified":"2023-05-12T16:23:38.294Z","etag":"\\"a80b22c8a8ed620ff7aa49573f05d582\\""},{"_id":"sub3.out","name":"sub3.out","size":90,"lastModified":"2023-05-12T16:23:38.338Z","etag":"\\"eb934cf225ecfb7da04a05f9d0997d31\\""},{"_id":"sub4.in","name":"sub4.in","size":102,"lastModified":"2023-05-12T16:23:38.374Z","etag":"\\"939f82537fb157cab1b7672b02e252ca\\""},{"_id":"sub4.out","name":"sub4.out","size":115,"lastModified":"2023-05-12T16:23:38.415Z","etag":"\\"9827263155d99562f60da72e33d4ccaf\\""},{"_id":"sub5.in","name":"sub5.in","size":103,"lastModified":"2023-05-12T16:23:38.475Z","etag":"\\"74097feb22a8ec9930fd572d3a6c35c4\\""},{"_id":"sub5.out","name":"sub5.out","size":118,"lastModified":"2023-05-12T16:23:38.515Z","etag":"\\"ac0d9b7e876db4f2b5c85a949291e459\\""},{"_id":"sub6.in","name":"sub6.in","size":112,"lastModified":"2023-05-12T16:23:38.546Z","etag":"\\"59921cba98664c896ed046262f22fe64\\""},{"_id":"sub6.out","name":"sub6.out","size":116,"lastModified":"2023-05-12T16:23:38.591Z","etag":"\\"eba11a9a3a7b54cd0ea220932f66c483\\""},{"_id":"sub7.in","name":"sub7.in","size":112,"lastModified":"2023-05-12T16:23:38.623Z","etag":"\\"e76812ba45a64a7542d433fb55a55fbd\\""},{"_id":"sub7.out","name":"sub7.out","size":117,"lastModified":"2023-05-12T16:23:38.655Z","etag":"\\"170f4af492d314ef9ea1707d01467bea\\""}
1,{"_id":"sub8.in","name":"sub8.in","size":112,"lastModified":"2023-05-12T16:23:38.696Z","etag":"\\"d8b12d4181d73787ec24651a2fbeeec6\\""},{"_id":"sub8.out","name":"sub8.out","size":118,"lastModified":"2023-05-12T16:23:38.741Z","etag":"\\"0d4ca80cff68de7fd79ef671e977004f\\""},{"_id":"sub9.in","name":"sub9.in","size":112,"lastModified":"2023-05-12T16:23:38.772Z","etag":"\\"1cfc4224ced4b0c3c6b1513b965cf391\\""},{"_id":"sub9.out","name":"sub9.out","size":118,"lastModified":"2023-05-12T16:23:38.807Z","etag":"\\"933bc0e2c495a75aad19264d7613bf07\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":5000,"timeMax":5000,"type":"default"},"html":false,"pid":"SFCR2D","nSubmit":19,"nAccept":4},"282":{"_id":"645e680ae3f1072df0af968a","content":"{\\"zh\\":\\"### 题目背景\\\\n~~滥觞于家庭与学校的期望正失去它们的借鉴意义。但面对看似无垠的未来天空,小 L 想循 digdig 和 generals 的指引以过早地振翮。~~\\\\n### 题目描述\\\\n小 L 有一个整数 $n$。\\\\n\\\\n他认为**一个 $n!$ 可以被拆分为若干 $< n$ 的非负整数的阶乘的积**的 $n$ 是**可阶乘拆分**的。形式化地,我们有一个可阶乘拆分的数 $n$,则存在一种方案 $m, a$ 使得:\\\\n\\\\n- $m \\\\\\\\geq 1$\\\\n- $0 \\\\\\\\leq a_1 \\\\\\\\leq a_2 \\\\\\\\leq \\\\\\\\cdots \\\\\\\\leq a_m < n$\\\\n- $n! = \\\\\\\\displaystyle\\\\\\\\prod_{i = 1}^m a_i!$\\\\n\\\\n于是他向你提出了如下问题:$n$ 是可阶乘拆分的吗?如果是,请给出一种方案使得其阶乘拆分中的 $m$ 最小。\\\\n\\\\n请你快速给出一组满足条件的答案。\\\\n### 输入格式\\\\n一行,一个整数 $n$。\\\\n### 输出格式\\\\n若无解,输出 $-1$;否则,输出两行:\\\\n\\\\n- 第一行,一个整数 $m$,表示你给出的阶乘拆分的项数。你输出的 $m$ 需要满足 $m \\\\\\\\geq 1$。\\\\n- 第二行,$m$ 个整数 $a_1, a_2, \\\\\\\\cdots, a_n$,表示你拆分出的每一项。你输出的 $a$ 需要满足 $0 \\\\\\\\leq a_1 \\\\\\\\leq a_2 \\\\\\\\leq \\\\\\\\cdots \\\\\\\\leq a_m < n$。\\\\n\\\\n**若有多解,你可以输出任意一种。**\\\\n### 样例 #1\\\\n#### 样例输入 #1\\\\n```\\\\n7\\\\n```\\\\n#### 样例输出 #1\\\\n```\\\\n-1\\\\n```\\\\n### 样例 #2\\\\n#### 样例输入 #2\\\\n```\\\\n8\\\\n```\\\\n#### 样例输出 #2\\\\n```\\\\n4\\\\n2 2 2 7\\\\n```\\\\n### 评测说明\\\\n**本题开启 Special Judge。**\\\\n\\\\n若对于所有数据,你给出的解的存在性与标准答案一致,且对于所有有解的数据,你给出的解合法且满足 $m$ 最小,则你可以得到当前测试点的全部分数,否则你不能得到当前测试点的任何分数。\\\\n### 数据范围\\\\n| $\\\\\\\\textbf{Subtask}$ | $n$ | 依赖 | 分值 |\\\\n| :------: | :------: | :------: | :------: |\\\\n| $1$ | $1 \\\\\\\\leq n \\\\\\\\leq 20$ | 无 | $10 \\\\\\\\operatorname{pts}$ |\\\\n| $2$ | $1 \\\\\\\\leq n \\\\\\\\leq 10^3$ | $1$ | $20 \\\\\\\\operatorname{pts}$ |\\\\n| $3$ | $1 \\\\\\\\leq n \\\\\\\\leq 10^6$ | $1, 2$ | $30 \\\\\\\\operatorname{pts}$ |\\\\n| $4$ | 同上 | $1 \\\\\\\\sim 3$ | $40 \\\\\\\\operatorname{pts}$ |\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^9$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":282,"title":"「SFCOI-2」愤怒","data":[{"_id":"checker.cpp","name":"checker.cpp","size":1918,"lastModified":"2023-05-12T16:23:38.852Z","etag":"\\"4085cefb14f63257e43e06bb71220c5b\\""},{"_id":"config.yaml","name":"config.yaml","size":1566,"lastModified":"2023-05-12T16:23:38.885Z","etag":"\\"f0d62aa854ba22b62b03ec5b5053f529\\""},{"_id":"sub1.in","name":"sub1.in","size":1,"lastModified":"2023-05-12T16:23:38.954Z","etag":"\\"c4ca4238a0b923820dcc509a6f75849b\\""},{"_id":"sub1.out","name":"sub1.out","size":4,"lastModified":"2023-05-12T16:23:38.991Z","etag":"\\"ee62a942eb5230de752ddfe4d05be370\\""},{"_id":"sub10.in","name":"sub10.in","size":3,"lastModified":"2023-05-12T16:23:39.026Z","etag":"\\"3a835d3215755c435ef4fe9965a3f2a0\\""},{"_id":"sub10.out","name":"sub10.out","size":18,"lastModified":"2023-05-12T16:23:39.058Z","etag":"\\"833f2ccf097fa08c509ee9e37cd6ed00\\""},{"_id":"sub11.in","name":"sub11.in","size":3,"lastModified":"2023-05-12T16:23:39.092Z","etag":"\\"1fc214004c9481e4c8073e85323bfd4b\\""},{"_id":"sub11.out","name":"sub11.out","size":12,"lastModified":"2023-05-12T16:23:39.128Z","etag":"\\"e5ef19632bcd7305a8379280dab1e89d\\""}
1,{"_id":"sub12.in","name":"sub12.in","size":3,"lastModified":"2023-05-12T16:23:39.163Z","etag":"\\"ec5aa0b7846082a2415f0902f0da88f2\\""},{"_id":"sub12.out","name":"sub12.out","size":2,"lastModified":"2023-05-12T16:23:39.200Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub13.in","name":"sub13.in","size":6,"lastModified":"2023-05-12T16:23:39.232Z","etag":"\\"cae4df4047d73f7ee93248f96af9db62\\""},{"_id":"sub13.out","name":"sub13.out","size":13,"lastModified":"2023-05-12T16:23:39.273Z","etag":"\\"da594f70668bd642ba1f6fd6493d2fb9\\""},{"_id":"sub14.in","name":"sub14.in","size":6,"lastModified":"2023-05-12T16:23:39.319Z","etag":"\\"9967a3dd6ee0080aa6abf49e08704a69\\""},{"_id":"sub14.out","name":"sub14.out","size":19,"lastModified":"2023-05-12T16:23:39.355Z","etag":"\\"eb67f3a2b3456002be5d2976603d6bc6\\""},{"_id":"sub15.in","name":"sub15.in","size":6,"lastModified":"2023-05-12T16:23:39.411Z","etag":"\\"23e9cb471883d789dd2ac8750f24cee1\\""},{"_id":"sub15.out","name":"sub15.out","size":17,"lastModified":"2023-05-12T16:23:39.445Z","etag":"\\"04957cce93398aa4c517c7e2be7853f6\\""},{"_id":"sub16.in","name":"sub16.in","size":6,"lastModified":"2023-05-12T16:23:39.483Z","etag":"\\"df6c62b6622826706bbd67bcdf8e1bd4\\""},{"_id":"sub16.out","name":"sub16.out","size":2,"lastModified":"2023-05-12T16:23:39.524Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub17.in","name":"sub17.in","size":6,"lastModified":"2023-05-12T16:23:39.575Z","etag":"\\"ded4e28800b50612f3586c6ca48ddcd7\\""},{"_id":"sub17.out","name":"sub17.out","size":13,"lastModified":"2023-05-12T16:23:39.608Z","etag":"\\"2be844b9600caf1b4dc9ffd373d3e24e\\""},{"_id":"sub18.in","name":"sub18.in","size":6,"lastModified":"2023-05-12T16:23:39.723Z","etag":"\\"5dfb2f98dd006bc844a504f5fde8fed0\\""},{"_id":"sub18.out","name":"sub18.out","size":21,"lastModified":"2023-05-12T16:23:39.760Z","etag":"\\"92d265ddf07bce4f956a486fbc5b8451\\""},{"_id":"sub19.in","name":"sub19.in","size":9,"lastModified":"2023-05-12T16:23:39.797Z","etag":"\\"9d1aa27c65188ebb5effb253bffbda3f\\""},{"_id":"sub19.out","name":"sub19.out","size":22,"lastModified":"2023-05-12T16:23:39.833Z","etag":"\\"ab261f919e10d5cefc0fb182b35da52f\\""},{"_id":"sub2.in","name":"sub2.in","size":1,"lastModified":"2023-05-12T16:23:39.864Z","etag":"\\"1679091c5a880faf6fb5e6087eb1b2dc\\""},{"_id":"sub2.out","name":"sub2.out","size":6,"lastModified":"2023-05-12T16:23:39.893Z","etag":"\\"a6c0855ffc2ef5c885693e9e342fe473\\""},{"_id":"sub20.in","name":"sub20.in","size":9,"lastModified":"2023-05-12T16:23:39.934Z","etag":"\\"18e6482fa05a355b1ab4840604dde7d9\\""},{"_id":"sub20.out","name":"sub20.out","size":20,"lastModified":"2023-05-12T16:23:39.967Z","etag":"\\"521b56b871189ca9c340468c8d420eea\\""},{"_id":"sub21.in","name":"sub21.in","size":9,"lastModified":"2023-05-12T16:23:40.003Z","etag":"\\"0c9f4f40bf1b42ab4a93077661d0475e\\""},{"_id":"sub21.out","name":"sub21.out","size":53,"lastModified":"2023-05-12T16:23:40.049Z","etag":"\\"1d7b7439e8c8962c7e1a2dd4c447afbb\\""},{"_id":"sub22.in","name":"sub22.in","size":9,"lastModified":"2023-05-12T16:23:40.086Z","etag":"\\"8bb686ad5f30421fd86416d303881637\\""},{"_id":"sub22.out","name":"sub22.out","size":20,"lastModified":"2023-05-12T16:23:40.117Z","etag":"\\"3c8c7ff5c8dab47d0980169bde503439\\""},{"_id":"sub23.in","name":"sub23.in","size":9,"lastModified":"2023-05-12T16:23:40.270Z","etag":"\\"e943ebfd37b51cffb09b39f4b3fa279d\\""},{"_id":"sub23.out","name":"sub23.out","size":2,"lastModified":"2023-05-12T16:23:40.306Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub24.in","name":"sub24.in","size":9,"lastModified":"2023-05-12T16:23:40.339Z","etag":"\\"329b2128945a359e849277c926ce342a\\""},{"_id":"sub24.out","name":"sub24.out","size":17,"lastModified":"2023-05-12T16:23:40.371Z","etag":"\\"b98de098af47419b2d1430f0ad3b2de6\\""},{"_id":"sub3.in","name":"sub3.in","size":1,"lastModified":"2023-05-12T16:23:40.406Z","etag":"\\"45c48cce2e2d7fbdea1afc51c7c6ad26\\""},{"_id":"sub3.out","name":"sub3.out","size":10,"lastModified":"2023-05-12T16:23:40.439Z","etag":"\\"96bf3a7b739acaf431b8a32b4dc33ba3\\""},{"_id":"sub4.in","name":"sub4.in","size":2,"lastModified":"2023-05-12T16:23:40.485Z","etag":"\\"d3d9446802a44259755d38e6d163e820\\""},{"_id":"sub4.out","name":"sub4.out","size":6,"lastModified":"2023-05-12T16:23:40.518Z","etag":"\\"55d93228651f58745286b34b7a035077\\""},{"_id":"sub5.in","name":"sub5.in","size":2,"lastModified":"2023-05-12T16:23:40.555Z","etag":"\\"c74d97b01eae257e44aa9d5bade97baf\\""},{"_id":"sub5.out","name":"sub5.out","size":9,"lastModified":"2023-05-12T16:23:40.594Z","etag":"\\"124de474dc19e4fed4e2159e45d91e3a\\""},{"_id":"sub6.in","name":"sub6.in","size":2,"lastModified":"2023-05-12T16:23:40.651Z","etag":"\\"98f13708210194c475687be6106a3b84\\""},{"_id":"sub6.out","name":"sub6.out","size":2,"lastModified":"2023-05-12T16:23:40.683Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub7.in","name":"sub7.in","size":3,"lastModified":"2023-05-12T16:23:40.720Z","etag":"\\"a7aeed74714116f3b292a982238f83d2\\""},{"_id":"sub7.out","name":"sub7.out","size":10,"lastModified":"2023-05-12T16:23:40.757Z","etag":"\\"9582fbd7d6e722a9f25fd040f2656594\\""}
1,{"_id":"sub8.in","name":"sub8.in","size":3,"lastModified":"2023-05-12T16:23:40.791Z","etag":"\\"443cb001c138b2561a0d90720d6ce111\\""},{"_id":"sub8.out","name":"sub8.out","size":2,"lastModified":"2023-05-12T16:23:40.832Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub9.in","name":"sub9.in","size":3,"lastModified":"2023-05-12T16:23:40.875Z","etag":"\\"5f2c22cb4a5380af7ca75622a6426917\\""},{"_id":"sub9.out","name":"sub9.out","size":8,"lastModified":"2023-05-12T16:23:40.920Z","etag":"\\"e9aa2a26c2b7ca3128854f22ce2802c8\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":100,"timeMax":100,"type":"default"},"html":false,"pid":"SFCR2C","nSubmit":12,"nAccept":0},"SFCR2A":{"_id":"645e67fde3f1072df0af9684","content":"{\\"zh\\":\\"### 题目背景\\\\n初三时,小 L 因为道德与法治考试痛苦不堪,于是他开始思考如何让订正和复习的时间之和最小。\\\\n### 题目描述\\\\n在某次考试中,共有 $n$ 道非选择题,其中第 $i$ 道题**涉及且仅涉及**第 $p_i$ 个知识点。一共有 $m$ 个知识点,编号为 $1 \\\\\\\\sim m$。\\\\n\\\\n由于爆零了,小 L 被要求订正这张卷子。对于某个知识点 $x$,你要么选择在卷子上**每道**与它有关的题旁边抄上其对应的知识点,要么选择将其对应的知识点标注在书上**恰好一次**并且在**每道**对应题目旁记录下该知识点在书上的位置。若要将其抄在卷子上,需要花费时间 $a_x$;若要将其在书上标注,需要花费时间 $b_x$;若要将其在书上的位置记录在对应题目旁,需要花费时间 $c_x$。\\\\n\\\\n他假定他在接下来的日子里要复习这张卷子 $k$ 轮。当他在某一轮中复习某道题时,假定其对应知识点为 $x$,若他将知识点 $x$ 抄在了卷子上,他需要用 $d_x$ 的时间背诵这个知识点;否则,他需要用 $e_x$ 的时间在书上找到并背诵这个知识点(**但如果他在这一轮复习中已经背诵过这个知识点了,他不会再背一次**)。\\\\n\\\\n现在他不想订正了,于是他给你 $q$ 个询问,每个询问包含一个整数 $k$,表示求出订正一次和复习 $k$ 次的时间之和的最小值。\\\\n### 输入格式\\\\n第一行,三个整数 $n, m, q$;\\\\n\\\\n第二行,$n$ 个整数 $p_1, p_2, \\\\\\\\cdots, p_n$;\\\\n\\\\n第三行,$m$ 个整数 $a_1, a_2, \\\\\\\\cdots, a_m$;\\\\n\\\\n第四行,$m$ 个整数 $b_1, b_2, \\\\\\\\cdots, b_m$;\\\\n\\\\n第五行,$m$ 个整数 $c_1, c_2, \\\\\\\\cdots, c_m$;\\\\n\\\\n第六行,$m$ 个整数 $d_1, d_2, \\\\\\\\cdots, d_m$;\\\\n\\\\n第七行,$m$ 个整数 $e_1, e_2, \\\\\\\\cdots, e_m$;\\\\n\\\\n接下来 $q$ 行,每行一个整数 $k$。\\\\n### 输出格式\\\\n$q$ 行,每行一个整数,表示所求的值。\\\\n### 样例 #1\\\\n#### 样例输入 #1\\\\n```\\\\n6 6 3\\\\n1 1 4 5 1 4\\\\n3 4 5 6 7 8\\\\n2 3 4 5 6 7\\\\n1 2 3 4 5 6\\\\n6 5 4 3 2 1\\\\n7 6 5 4 3 2\\\\n1\\\\n3\\\\n5\\\\n```\\\\n#### 样例输出 #1\\\\n```\\\\n36\\\\n60\\\\n83\\\\n```\\\\n### 数据范围\\\\n对于 $10\\\\\\\\%$ 的数据,$1 \\\\\\\\leq m \\\\\\\\leq 10$,$1 \\\\\\\\leq q \\\\\\\\leq 5 \\\\\\\\times 10^3$;\\\\n\\\\n对于 $30\\\\\\\\%$ 的数据,$1 \\\\\\\\leq m, q \\\\\\\\leq 5 \\\\\\\\times 10^3$;\\\\n\\\\n对于 $50\\\\\\\\%$ 的数据,$1 \\\\\\\\leq m, q \\\\\\\\leq 10^5$;\\\\n\\\\n对于另 $20\\\\\\\\%$ 的数据,$1 \\\\\\\\leq k \\\\\\\\leq q = 500$;\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n, m, q \\\\\\\\leq 3 \\\\\\\\times 10^5$,$1 \\\\\\\\leq p_i \\\\\\\\leq m$,$1 \\\\\\\\leq c_i < b_i < a_i \\\\\\\\leq 10^9$,$1 \\\\\\\\leq d_i < e_i \\\\\\\\leq 5 \\\\\\\\times 10^5$,$1 \\\\\\\\leq k \\\\\\\\leq 10^8$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":279,"title":"「SFCOI-2」难过","data":[{"_id":"config.yaml","name":"config.yaml","size":594,"lastModified":"2023-05-12T16:23:25.708Z","etag":"\\"93e16dffad49dec2633de59245751997\\""},{"_id":"sub1.in","name":"sub1.in","size":669715,"lastModified":"2023-05-12T16:23:25.856Z","etag":"\\"b7a82983a63f1cb15de7858e94edfbbb\\""},{"_id":"sub1.out","name":"sub1.out","size":82142,"lastModified":"2023-05-12T16:23:25.908Z","etag":"\\"e5c874c98ee1786a01b06ea94bc8d792\\""},{"_id":"sub10.in","name":"sub10.in","size":18488930,"lastModified":"2023-05-12T16:23:26.752Z","etag":"\\"2cf2b981327c8795b8b1cb071a0d5f2b-7\\""},{"_id":"sub10.out","name":"sub10.out","size":6600000,"lastModified":"2023-05-12T16:23:27.385Z","etag":"\\"f9ca62976071d4588499d299f93b2ee5-3\\""},{"_id":"sub2.in","name":"sub2.in","size":1684439,"lastModified":"2023-05-12T16:23:27.726Z","etag":"\\"512e2cd8764e11747da4e570b1f27fe1\\""},{"_id":"sub2.out","name":"sub2.out","size":87796,"lastModified":"2023-05-12T16:23:27.797Z","etag":"\\"4e8ff218abd283651d2b04328a94f435\\""}
1,{"_id":"sub3.in","name":"sub3.in","size":1684678,"lastModified":"2023-05-12T16:23:28.045Z","etag":"\\"8c2dd8687e361f86e1cbd31d9db6eccf\\""},{"_id":"sub3.out","name":"sub3.out","size":87832,"lastModified":"2023-05-12T16:23:28.115Z","etag":"\\"afc0ee246eefe218373ab2218f296dd7\\""},{"_id":"sub4.in","name":"sub4.in","size":6789399,"lastModified":"2023-05-12T16:23:29.071Z","etag":"\\"fd715295c33c8aec7fcc916e13ecc9ac-3\\""},{"_id":"sub4.out","name":"sub4.out","size":1869556,"lastModified":"2023-05-12T16:23:29.403Z","etag":"\\"95e3d936174bf74c5753f9e43ab23572\\""},{"_id":"sub5.in","name":"sub5.in","size":6789730,"lastModified":"2023-05-12T16:23:30.279Z","etag":"\\"e1bc529410baed03a03ef408b7a3adab-3\\""},{"_id":"sub5.out","name":"sub5.out","size":1869891,"lastModified":"2023-05-12T16:23:30.605Z","etag":"\\"67c31cd30be64a1aa38c2a3c1ccf73bc\\""},{"_id":"sub6.in","name":"sub6.in","size":14692736,"lastModified":"2023-05-12T16:23:31.686Z","etag":"\\"5b53ac97243974fadb3de0741f62b697-6\\""},{"_id":"sub6.out","name":"sub6.out","size":8071,"lastModified":"2023-05-12T16:23:31.714Z","etag":"\\"e2fc70e3ba87e28dacf1e5824bb10bae\\""},{"_id":"sub7.in","name":"sub7.in","size":14693139,"lastModified":"2023-05-12T16:23:32.791Z","etag":"\\"52b6e077fac4e67306e9ed28ee23cf9f-6\\""},{"_id":"sub7.out","name":"sub7.out","size":8071,"lastModified":"2023-05-12T16:23:32.841Z","etag":"\\"2d2f5955f2ae83938ee111883f662ea1\\""},{"_id":"sub8.in","name":"sub8.in","size":17056348,"lastModified":"2023-05-12T16:23:33.772Z","etag":"\\"1a710740dc5285596bfbbf5d668dfc7f-7\\""},{"_id":"sub8.out","name":"sub8.out","size":5657977,"lastModified":"2023-05-12T16:23:34.207Z","etag":"\\"33c2a9dd002930e79889c2fb235967d1-3\\""},{"_id":"sub9.in","name":"sub9.in","size":17058399,"lastModified":"2023-05-12T16:23:35.391Z","etag":"\\"71f0bdedcd8e540838cf79252d0aae2f-7\\""},{"_id":"sub9.out","name":"sub9.out","size":5658147,"lastModified":"2023-05-12T16:23:35.856Z","etag":"\\"9d0570d98bd966c07b33ca2acd686976-3\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":1000,"timeMax":1000,"type":"default"},"html":false,"pid":"SFCR2A","nSubmit":23,"nAccept":2},"SFCR2B":{"_id":"645e6807e3f1072df0af9687","content":"{\\"zh\\":\\"### 题目描述\\\\n小 L 有一张 $n$ 个点的**无向图**。\\\\n\\\\n他认为不互质的一对数是有趣的,于是他规定:在这张图上,$u, v$ 两点之间有边,**当且仅当 $u, v$ 不互质**。\\\\n\\\\n现在,他希望在这张图上进行一次游走。\\\\n\\\\n具体地,他希望求出一个**可以是非简单路径的**路径 $P$。\\\\n\\\\n- 为了游览沿途更丰富的风景,他想要让 $P$ 中**本质不同点数**最多。\\\\n- 为了游览时不走太多路,他想要让 $P$ 的**总点数**最短。\\\\n\\\\n请你求出一个符合上述条件的路径 $P$。\\\\n### 输入格式\\\\n一行,一个整数 $n$。\\\\n### 输出格式\\\\n第一行,一个整数 $|P|$,表示你求出的路径 $P$ 的总点数;\\\\n\\\\n第二行,$|P|$ 个整数 $P_1, P_2, \\\\\\\\cdots, P_{|P|}$,依次表示路径 $P$ 上的每个点。\\\\n\\\\n**若有多种最优方案,你可以输出任意一种。**\\\\n\\\\n**若你的方案的本质不同点数与最优方案相同,但总点数多于最优方案,你也可以获得一些分数,详见「评测说明」。**\\\\n### 样例 #1\\\\n#### 样例输入 #1\\\\n```\\\\n4\\\\n```\\\\n#### 样例输出 #1\\\\n```\\\\n2\\\\n2 4\\\\n```\\\\n### 样例 #2\\\\n#### 样例输入 #2\\\\n```\\\\n6\\\\n```\\\\n#### 样例输出 #2\\\\n```\\\\n4\\\\n2 4 6 3\\\\n```\\\\n### 样例 #3\\\\n#### 样例输入 #3\\\\n```\\\\n9\\\\n```\\\\n#### 样例输出 #3\\\\n```\\\\n6\\\\n8 4 2 6 3 9\\\\n```\\\\n### 样例 #4\\\\n#### 样例输入 #4\\\\n```\\\\n15\\\\n```\\\\n#### 样例输出 #4\\\\n```\\\\n12\\\\n2 8 10 5 15 6 9 3 12 4 14 7\\\\n```\\\\n### 评测说明\\\\n**本题开启 Special Judge。**\\\\n\\\\n设最优解中的路径为 $P_0$,你求出的路径为 $P$。\\\\n\\\\n设 $F(P)$ 表示 $P$ 中本质不同点的个数,则:\\\\n\\\\n- 若 $P$ 不合法或 $F(P) < F(P_0)$,你可以得到当前测试点 $0\\\\\\\\%$ 的分数。\\\\n- 否则,你可以得到当前测试点 $w(|P|, |P_0|)\\\\\\\\%$ 的分数,其中 $w(x, y)$ 的定义如下:\\\\n\\\\n$$\\\\nw(x, y) = \\\\n\\\\\\\\begin{cases}\\\\n0 & (x > \\\\\\\\lceil 1.07 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n20 & (\\\\\\\\lceil 1.03 y \\\\\\\\rceil < x \\\\\\\\leq \\\\\\\\lceil 1.07 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n40 & (\\\\\\\\lceil 1.01 y \\\\\\\\rceil < x \\\\\\\\leq \\\\\\\\lceil 1.03 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n60 & (y < x \\\\\\\\leq \\\\\\\\lceil 1.01 y \\\\\\\\rceil) \\\\\\\\\\\\\\\\\\\\n100 & (x \\\\\\\\leq y)\\\\n\\\\\\\\end{cases}\\\\n$$\\\\n### 数据范围\\\\n对于 $20\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10$;\\\\n\\\\n对于 $40\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 100$;\\\\n\\\\n对于 $60\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10^3$;\\\\n\\\\n对于 $80\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10^4$;\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$2 \\\\\\\\leq n \\\\\\\\leq 10^5$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":280,"title":"「SFCOI-2」幽灵","data":[{"_id":"checker.cpp","name":"checker.cpp","size":1936,"lastModified":"2023-06-11T07:55:36.292Z","etag":"\\"a79ef67e81287d991212f433ca4265a1\\""},{"_id":"config.yaml","name":"config.yaml","size":1137,"lastModified":"2023-05-12T16:23:35.939Z","etag":"\\"5e9072d3429b5de62631540494194b0a\\""},{"_id":"sub1.in","name":"sub1.in","size":1,"lastModified":"2023-05-12T16:23:36.010Z","etag":"\\"eccbc87e4b5ce2fe28308fd9f2a7baf3\\""},{"_id":"sub1.out","name":"sub1.out","size":4,"lastModified":"2023-05-12T16:23:36.053Z","etag":"\\"75be138a16d731480f5c020e875deb61\\""},{"_id":"sub10.in","name":"sub10.in","size":3,"lastModified":"2023-05-12T16:23:36.090Z","etag":"\\"0b8aff0438617c055eb55f0ba5d226fa\\""},{"_id":"sub10.out","name":"sub10.out","size":3687,"lastModified":"2023-05-12T16:23:36.125Z","etag":"\\"21a75e6c77d
1aef0847155306fd9c66ac\\""},{"_id":"sub11.in","name":"sub11.in","size":3,"lastModified":"2023-05-12T16:23:36.161Z","etag":"\\"0b8aff0438617c055eb55f0ba5d226fa\\""},{"_id":"sub11.out","name":"sub11.out","size":3687,"lastModified":"2023-05-12T16:23:36.198Z","etag":"\\"21a75e6c77daef0847155306fd9c66ac\\""},{"_id":"sub12.in","name":"sub12.in","size":4,"lastModified":"2023-05-12T16:23:36.242Z","etag":"\\"a9b7ba70783b617e9998dc4dd82eb3c5\\""},{"_id":"sub12.out","name":"sub12.out","size":3708,"lastModified":"2023-05-12T16:23:36.310Z","etag":"\\"cd6afccc138afbca9ed0178504818288\\""},{"_id":"sub13.in","name":"sub13.in","size":4,"lastModified":"2023-05-12T16:23:36.364Z","etag":"\\"07470878bde1b126f2cc4b0f9d9b9798\\""},{"_id":"sub13.out","name":"sub13.out","size":45947,"lastModified":"2023-05-12T16:23:36.416Z","etag":"\\"8237aa92e2c3e341325507b9476c37af\\""},{"_id":"sub14.in","name":"sub14.in","size":4,"lastModified":"2023-05-12T16:23:36.471Z","etag":"\\"f5b2aa928f940f3f09a0d14f45a27875\\""},{"_id":"sub14.out","name":"sub14.out","size":46127,"lastModified":"2023-05-12T16:23:36.531Z","etag":"\\"578254be0907fb4ca8fd2bba39c2f345\\""},{"_id":"sub15.in","name":"sub15.in","size":4,"lastModified":"2023-05-12T16:23:36.578Z","etag":"\\"fa246d0262c3925617b0c72bb20eeb1d\\""},{"_id":"sub15.out","name":"sub15.out","size":47077,"lastModified":"2023-05-12T16:23:36.633Z","etag":"\\"1e8a4fa69f2751c6e984293980127393\\""},{"_id":"sub16.in","name":"sub16.in","size":4,"lastModified":"2023-05-12T16:23:36.682Z","etag":"\\"fa246d0262c3925617b0c72bb20eeb1d\\""},{"_id":"sub16.out","name":"sub16.out","size":47077,"lastModified":"2023-05-12T16:23:36.755Z","etag":"\\"1e8a4fa69f2751c6e984293980127393\\""},{"_id":"sub17.in","name":"sub17.in","size":5,"lastModified":"2023-05-12T16:23:36.790Z","etag":"\\"6f262979e04cf4536ffe1cee80244b1d\\""},{"_id":"sub17.out","name":"sub17.out","size":551213,"lastModified":"2023-05-12T16:23:36.888Z","etag":"\\"720b46a54cfaf26bc145e310e2f02f6c\\""},{"_id":"sub18.in","name":"sub18.in","size":5,"lastModified":"2023-05-12T16:23:36.929Z","etag":"\\"68f163be71a8e06ea4b80affaabed8d3\\""},{"_id":"sub18.out","name":"sub18.out","size":568385,"lastModified":"2023-05-12T16:23:37.018Z","etag":"\\"2698fed6bcde84a3650a244e124b2c12\\""},{"_id":"sub19.in","name":"sub19.in","size":5,"lastModified":"2023-05-12T16:23:37.062Z","etag":"\\"3b733e9b2fdc8d4cb71e9c2d24e962e4\\""},{"_id":"sub19.out","name":"sub19.out","size":569939,"lastModified":"2023-05-12T16:23:37.151Z","etag":"\\"720f11899a79c2c1a1eb854466c4ca18\\""},{"_id":"sub2.in","name":"sub2.in","size":1,"lastModified":"2023-05-12T16:23:37.190Z","etag":"\\"8f14e45fceea167a5a36dedd4bea2543\\""},{"_id":"sub2.out","name":"sub2.out","size":10,"lastModified":"2023-05-12T16:23:37.231Z","etag":"\\"ddc7f3c48747bee1418d3b791c2c521f\\""},{"_id":"sub20.in","name":"sub20.in","size":5,"lastModified":"2023-05-12T16:23:37.266Z","etag":"\\"38cd25eef32ce199040104771f471f5b\\""},{"_id":"sub20.out","name":"sub20.out","size":571385,"lastModified":"2023-05-12T16:23:37.334Z","etag":"\\"512cf3281a9b72f0da66013cf6b1e334\\""},{"_id":"sub3.in","name":"sub3.in","size":1,"lastModified":"2023-05-12T16:23:37.367Z","etag":"\\"c9f0f895fb98ab9159f51fd0297e236d\\""},{"_id":"sub3.out","name":"sub3.out","size":12,"lastModified":"2023-05-12T16:23:37.414Z","etag":"\\"7096cd34a2537d1cd0fa71b7e76c2414\\""},{"_id":"sub4.in","name":"sub4.in","size":2,"lastModified":"2023-05-12T16:23:37.455Z","etag":"\\"d3d9446802a44259755d38e6d163e820\\""},{"_id":"sub4.out","name":"sub4.out","size":20,"lastModified":"2023-05-12T16:23:37.506Z","etag":"\\"f794e72767f5cfc8bf80004b4a953a4a\\""},{"_id":"sub5.in","name":"sub5.in","size":2,"lastModified":"2023-05-12T16:23:37.548Z","etag":"\\"98f13708210194c475687be6106a3b84\\""},{"_id":"sub5.out","name":"sub5.out","size":41,"lastModified":"2023-05-12T16:23:37.582Z","etag":"\\"580f6ff21f25c66142c5530f94d59b09\\""},{"_id":"sub6.in","name":"sub6.in","size":2,"lastModified":"2023-05-12T16:23:37.617Z","etag":"\\"812b4ba287f5ee0bc9d43bbf5bbe87fb\\""},{"_id":"sub6.out","name":"sub6.out","size":257,"lastModified":"2023-05-12T16:23:37.663Z","etag":"\\"23c7c9c5e6a7251b3af64319ccc207dc\\""},{"_id":"sub7.in","name":"sub7.in","size":2,"lastModified":"2023-05-12T16:23:37.697Z","etag":"\\"26657d5ff9020d2abefe558796b99584\\""},{"_id":"sub7.out","name":"sub7.out","size":260,"lastModified":"2023-05-12T16:23:37.744Z","etag":"\\"e5ccae4c3207447936c7af4a315aa1b9\\""}
1,{"_id":"sub8.in","name":"sub8.in","size":2,"lastModified":"2023-05-12T16:23:37.789Z","etag":"\\"e2ef524fbf3d9fe611d5a8e90fefdc9c\\""},{"_id":"sub8.out","name":"sub8.out","size":260,"lastModified":"2023-05-12T16:23:37.837Z","etag":"\\"e5ccae4c3207447936c7af4a315aa1b9\\""},{"_id":"sub9.in","name":"sub9.in","size":3,"lastModified":"2023-05-12T16:23:37.876Z","etag":"\\"ca75910166da03ff9d4655a0338e6b09\\""},{"_id":"sub9.out","name":"sub9.out","size":3595,"lastModified":"2023-05-12T16:23:37.915Z","etag":"\\"a9163cc5334031d7adc2780c2fb09e05\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":1000,"timeMax":1000,"type":"default"},"html":false,"pid":"SFCR2B","nSubmit":9,"nAccept":1},"SFCR2D":{"_id":"645e6809e3f1072df0af9689","content":"{\\"zh\\":\\"### 题目背景\\\\n小 L 正在尝试解决 CF 上的一道 2A。\\\\n### 题目描述\\\\n小 L 不会做,于是他给你一个整数 $n$,请你对于所有 $1 \\\\\\\\leq i, j \\\\\\\\leq n$,求出 $\\\\\\\\lambda(\\\\\\\\operatorname{lcm}(i, j))$ 的和,其中 $\\\\\\\\lambda(n)$ 在 $n$ 的**不去重**质因数个数有偶数个时取 $1$,其他时候取 $-1$。\\\\n\\\\n由于结果可能很大,你只需要求出结果对 $2^{32}$ 取模的值。\\\\n### 输入格式\\\\n**本题有多组测试数据。**\\\\n\\\\n第一行,一个整数 $T$,表示数据组数;\\\\n\\\\n对于每组数据:\\\\n\\\\n一行,一个整数 $n$。\\\\n### 输出格式\\\\n对于每组数据,输出一行,一个整数,表示所求的值。\\\\n\\\\n```input1\\\\n1\\\\n10\\\\n```\\\\n\\\\n```output1\\\\n2\\\\n```\\\\n### 提示\\\\n对于 $10\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^3$;\\\\n\\\\n对于 $30\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^6$;\\\\n\\\\n对于 $50\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^9$;\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^{10}$,$1 \\\\\\\\leq T \\\\\\\\leq 10$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":281,"title":"「SFCOI-2」街舞","data":[{"_id":"config.yaml","name":"config.yaml","size":594,"lastModified":"2023-05-12T16:23:37.970Z","etag":"\\"9c2127cdfe1810d44612eabc921656d3\\""},{"_id":"sub1.in","name":"sub1.in","size":43,"lastModified":"2023-05-12T16:23:38.032Z","etag":"\\"c1274261d6134d948b1accd043bcf5f9\\""},{"_id":"sub1.out","name":"sub1.out","size":120,"lastModified":"2023-05-12T16:23:38.068Z","etag":"\\"544b2fc7791020a669fccb5078b137f6\\""},{"_id":"sub10.in","name":"sub10.in","size":113,"lastModified":"2023-05-12T16:23:38.106Z","etag":"\\"e6d72e8e7ed9f3b68d8973e94e9fae89\\""},{"_id":"sub10.out","name":"sub10.out","size":119,"lastModified":"2023-05-12T16:23:38.153Z","etag":"\\"a8ef2a1216f409918909051e11c773ea\\""},{"_id":"sub2.in","name":"sub2.in","size":72,"lastModified":"2023-05-12T16:23:38.189Z","etag":"\\"89b8dfaa0465f89d6a3c53419431e90b\\""},{"_id":"sub2.out","name":"sub2.out","size":96,"lastModified":"2023-05-12T16:23:38.242Z","etag":"\\"323d69bc90a2a5782ee22d69ce0624ac\\""},{"_id":"sub3.in","name":"sub3.in","size":73,"lastModified":"2023-05-12T16:23:38.294Z","etag":"\\"a80b22c8a8ed620ff7aa49573f05d582\\""},{"_id":"sub3.out","name":"sub3.out","size":90,"lastModified":"2023-05-12T16:23:38.338Z","etag":"\\"eb934cf225ecfb7da04a05f9d0997d31\\""},{"_id":"sub4.in","name":"sub4.in","size":102,"lastModified":"2023-05-12T16:23:38.374Z","etag":"\\"939f82537fb157cab1b7672b02e252ca\\""},{"_id":"sub4.out","name":"sub4.out","size":115,"lastModified":"2023-05-12T16:23:38.415Z","etag":"\\"9827263155d99562f60da72e33d4ccaf\\""},{"_id":"sub5.in","name":"sub5.in","size":103,"lastModified":"2023-05-12T16:23:38.475Z","etag":"\\"74097feb22a8ec9930fd572d3a6c35c4\\""},{"_id":"sub5.out","name":"sub5.out","size":118,"lastModified":"2023-05-12T16:23:38.515Z","etag":"\\"ac0d9b7e876db4f2b5c85a949291e459\\""},{"_id":"sub6.in","name":"sub6.in","size":112,"lastModified":"2023-05-12T16:23:38.546Z","etag":"\\"59921cba98664c896ed046262f22fe64\\""},{"_id":"sub6.out","name":"sub6.out","size":116,"lastModified":"2023-05-12T16:23:38.591Z","etag":"\\"eba11a9a3a7b54cd0ea220932f66c483\\""},{"_id":"sub7.in","name":"sub7.in","size":112,"lastModified":"2023-05-12T16:23:38.623Z","etag":"\\"e76812ba45a64a7542d433fb55a55fbd\\""},{"_id":"sub7.out","name":"sub7.out","size":117,"lastModified":"2023-05-12T16:23:38.655Z","etag":"\\"170f4af492d314ef9ea1707d01467bea\\""}
1,{"_id":"sub8.in","name":"sub8.in","size":112,"lastModified":"2023-05-12T16:23:38.696Z","etag":"\\"d8b12d4181d73787ec24651a2fbeeec6\\""},{"_id":"sub8.out","name":"sub8.out","size":118,"lastModified":"2023-05-12T16:23:38.741Z","etag":"\\"0d4ca80cff68de7fd79ef671e977004f\\""},{"_id":"sub9.in","name":"sub9.in","size":112,"lastModified":"2023-05-12T16:23:38.772Z","etag":"\\"1cfc4224ced4b0c3c6b1513b965cf391\\""},{"_id":"sub9.out","name":"sub9.out","size":118,"lastModified":"2023-05-12T16:23:38.807Z","etag":"\\"933bc0e2c495a75aad19264d7613bf07\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":5000,"timeMax":5000,"type":"default"},"html":false,"pid":"SFCR2D","nSubmit":19,"nAccept":4},"SFCR2C":{"_id":"645e680ae3f1072df0af968a","content":"{\\"zh\\":\\"### 题目背景\\\\n~~滥觞于家庭与学校的期望正失去它们的借鉴意义。但面对看似无垠的未来天空,小 L 想循 digdig 和 generals 的指引以过早地振翮。~~\\\\n### 题目描述\\\\n小 L 有一个整数 $n$。\\\\n\\\\n他认为**一个 $n!$ 可以被拆分为若干 $< n$ 的非负整数的阶乘的积**的 $n$ 是**可阶乘拆分**的。形式化地,我们有一个可阶乘拆分的数 $n$,则存在一种方案 $m, a$ 使得:\\\\n\\\\n- $m \\\\\\\\geq 1$\\\\n- $0 \\\\\\\\leq a_1 \\\\\\\\leq a_2 \\\\\\\\leq \\\\\\\\cdots \\\\\\\\leq a_m < n$\\\\n- $n! = \\\\\\\\displaystyle\\\\\\\\prod_{i = 1}^m a_i!$\\\\n\\\\n于是他向你提出了如下问题:$n$ 是可阶乘拆分的吗?如果是,请给出一种方案使得其阶乘拆分中的 $m$ 最小。\\\\n\\\\n请你快速给出一组满足条件的答案。\\\\n### 输入格式\\\\n一行,一个整数 $n$。\\\\n### 输出格式\\\\n若无解,输出 $-1$;否则,输出两行:\\\\n\\\\n- 第一行,一个整数 $m$,表示你给出的阶乘拆分的项数。你输出的 $m$ 需要满足 $m \\\\\\\\geq 1$。\\\\n- 第二行,$m$ 个整数 $a_1, a_2, \\\\\\\\cdots, a_n$,表示你拆分出的每一项。你输出的 $a$ 需要满足 $0 \\\\\\\\leq a_1 \\\\\\\\leq a_2 \\\\\\\\leq \\\\\\\\cdots \\\\\\\\leq a_m < n$。\\\\n\\\\n**若有多解,你可以输出任意一种。**\\\\n### 样例 #1\\\\n#### 样例输入 #1\\\\n```\\\\n7\\\\n```\\\\n#### 样例输出 #1\\\\n```\\\\n-1\\\\n```\\\\n### 样例 #2\\\\n#### 样例输入 #2\\\\n```\\\\n8\\\\n```\\\\n#### 样例输出 #2\\\\n```\\\\n4\\\\n2 2 2 7\\\\n```\\\\n### 评测说明\\\\n**本题开启 Special Judge。**\\\\n\\\\n若对于所有数据,你给出的解的存在性与标准答案一致,且对于所有有解的数据,你给出的解合法且满足 $m$ 最小,则你可以得到当前测试点的全部分数,否则你不能得到当前测试点的任何分数。\\\\n### 数据范围\\\\n| $\\\\\\\\textbf{Subtask}$ | $n$ | 依赖 | 分值 |\\\\n| :------: | :------: | :------: | :------: |\\\\n| $1$ | $1 \\\\\\\\leq n \\\\\\\\leq 20$ | 无 | $10 \\\\\\\\operatorname{pts}$ |\\\\n| $2$ | $1 \\\\\\\\leq n \\\\\\\\leq 10^3$ | $1$ | $20 \\\\\\\\operatorname{pts}$ |\\\\n| $3$ | $1 \\\\\\\\leq n \\\\\\\\leq 10^6$ | $1, 2$ | $30 \\\\\\\\operatorname{pts}$ |\\\\n| $4$ | 同上 | $1 \\\\\\\\sim 3$ | $40 \\\\\\\\operatorname{pts}$ |\\\\n\\\\n对于 $100\\\\\\\\%$ 的数据,$1 \\\\\\\\leq n \\\\\\\\leq 10^9$。\\"}","owner":1874,"domainId":"system","docType":10,"docId":282,"title":"「SFCOI-2」愤怒","data":[{"_id":"checker.cpp","name":"checker.cpp","size":1918,"lastModified":"2023-05-12T16:23:38.852Z","etag":"\\"4085cefb14f63257e43e06bb71220c5b\\""},{"_id":"config.yaml","name":"config.yaml","size":1566,"lastModified":"2023-05-12T16:23:38.885Z","etag":"\\"f0d62aa854ba22b62b03ec5b5053f529\\""},{"_id":"sub1.in","name":"sub1.in","size":1,"lastModified":"2023-05-12T16:23:38.954Z","etag":"\\"c4ca4238a0b923820dcc509a6f75849b\\""},{"_id":"sub1.out","name":"sub1.out","size":4,"lastModified":"2023-05-12T16:23:38.991Z","etag":"\\"ee62a942eb5230de752ddfe4d05be370\\""},{"_id":"sub10.in","name":"sub10.in","size":3,"lastModified":"2023-05-12T16:23:39.026Z","etag":"\\"3a835d3215755c435ef4fe9965a3f2a0\\""},{"_id":"sub10.out","name":"sub10.out","size":18,"lastModified":"2023-05-12T16:23:39.058Z","etag":"\\"833f2ccf097fa08c509ee9e37cd6ed00\\""},{"_id":"sub11.in","name":"sub11.in","size":3,"lastModified":"2023-05-12T16:23:39.092Z","etag":"\\"1fc214004c9481e4c8073e85323bfd4b\\""},{"_id":"sub11.out","name":"sub11.out","size":12,"lastModified":"2023-05-12T16:23:39.128Z","etag":"\\"e5ef19632bcd7305a8379280dab1e89d\\""}
1,{"_id":"sub12.in","name":"sub12.in","size":3,"lastModified":"2023-05-12T16:23:39.163Z","etag":"\\"ec5aa0b7846082a2415f0902f0da88f2\\""},{"_id":"sub12.out","name":"sub12.out","size":2,"lastModified":"2023-05-12T16:23:39.200Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub13.in","name":"sub13.in","size":6,"lastModified":"2023-05-12T16:23:39.232Z","etag":"\\"cae4df4047d73f7ee93248f96af9db62\\""},{"_id":"sub13.out","name":"sub13.out","size":13,"lastModified":"2023-05-12T16:23:39.273Z","etag":"\\"da594f70668bd642ba1f6fd6493d2fb9\\""},{"_id":"sub14.in","name":"sub14.in","size":6,"lastModified":"2023-05-12T16:23:39.319Z","etag":"\\"9967a3dd6ee0080aa6abf49e08704a69\\""},{"_id":"sub14.out","name":"sub14.out","size":19,"lastModified":"2023-05-12T16:23:39.355Z","etag":"\\"eb67f3a2b3456002be5d2976603d6bc6\\""},{"_id":"sub15.in","name":"sub15.in","size":6,"lastModified":"2023-05-12T16:23:39.411Z","etag":"\\"23e9cb471883d789dd2ac8750f24cee1\\""},{"_id":"sub15.out","name":"sub15.out","size":17,"lastModified":"2023-05-12T16:23:39.445Z","etag":"\\"04957cce93398aa4c517c7e2be7853f6\\""},{"_id":"sub16.in","name":"sub16.in","size":6,"lastModified":"2023-05-12T16:23:39.483Z","etag":"\\"df6c62b6622826706bbd67bcdf8e1bd4\\""},{"_id":"sub16.out","name":"sub16.out","size":2,"lastModified":"2023-05-12T16:23:39.524Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub17.in","name":"sub17.in","size":6,"lastModified":"2023-05-12T16:23:39.575Z","etag":"\\"ded4e28800b50612f3586c6ca48ddcd7\\""},{"_id":"sub17.out","name":"sub17.out","size":13,"lastModified":"2023-05-12T16:23:39.608Z","etag":"\\"2be844b9600caf1b4dc9ffd373d3e24e\\""},{"_id":"sub18.in","name":"sub18.in","size":6,"lastModified":"2023-05-12T16:23:39.723Z","etag":"\\"5dfb2f98dd006bc844a504f5fde8fed0\\""},{"_id":"sub18.out","name":"sub18.out","size":21,"lastModified":"2023-05-12T16:23:39.760Z","etag":"\\"92d265ddf07bce4f956a486fbc5b8451\\""},{"_id":"sub19.in","name":"sub19.in","size":9,"lastModified":"2023-05-12T16:23:39.797Z","etag":"\\"9d1aa27c65188ebb5effb253bffbda3f\\""},{"_id":"sub19.out","name":"sub19.out","size":22,"lastModified":"2023-05-12T16:23:39.833Z","etag":"\\"ab261f919e10d5cefc0fb182b35da52f\\""},{"_id":"sub2.in","name":"sub2.in","size":1,"lastModified":"2023-05-12T16:23:39.864Z","etag":"\\"1679091c5a880faf6fb5e6087eb1b2dc\\""},{"_id":"sub2.out","name":"sub2.out","size":6,"lastModified":"2023-05-12T16:23:39.893Z","etag":"\\"a6c0855ffc2ef5c885693e9e342fe473\\""},{"_id":"sub20.in","name":"sub20.in","size":9,"lastModified":"2023-05-12T16:23:39.934Z","etag":"\\"18e6482fa05a355b1ab4840604dde7d9\\""},{"_id":"sub20.out","name":"sub20.out","size":20,"lastModified":"2023-05-12T16:23:39.967Z","etag":"\\"521b56b871189ca9c340468c8d420eea\\""},{"_id":"sub21.in","name":"sub21.in","size":9,"lastModified":"2023-05-12T16:23:40.003Z","etag":"\\"0c9f4f40bf1b42ab4a93077661d0475e\\""},{"_id":"sub21.out","name":"sub21.out","size":53,"lastModified":"2023-05-12T16:23:40.049Z","etag":"\\"1d7b7439e8c8962c7e1a2dd4c447afbb\\""},{"_id":"sub22.in","name":"sub22.in","size":9,"lastModified":"2023-05-12T16:23:40.086Z","etag":"\\"8bb686ad5f30421fd86416d303881637\\""},{"_id":"sub22.out","name":"sub22.out","size":20,"lastModified":"2023-05-12T16:23:40.117Z","etag":"\\"3c8c7ff5c8dab47d0980169bde503439\\""},{"_id":"sub23.in","name":"sub23.in","size":9,"lastModified":"2023-05-12T16:23:40.270Z","etag":"\\"e943ebfd37b51cffb09b39f4b3fa279d\\""},{"_id":"sub23.out","name":"sub23.out","size":2,"lastModified":"2023-05-12T16:23:40.306Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub24.in","name":"sub24.in","size":9,"lastModified":"2023-05-12T16:23:40.339Z","etag":"\\"329b2128945a359e849277c926ce342a\\""},{"_id":"sub24.out","name":"sub24.out","size":17,"lastModified":"2023-05-12T16:23:40.371Z","etag":"\\"b98de098af47419b2d1430f0ad3b2de6\\""},{"_id":"sub3.in","name":"sub3.in","size":1,"lastModified":"2023-05-12T16:23:40.406Z","etag":"\\"45c48cce2e2d7fbdea1afc51c7c6ad26\\""},{"_id":"sub3.out","name":"sub3.out","size":10,"lastModified":"2023-05-12T16:23:40.439Z","etag":"\\"96bf3a7b739acaf431b8a32b4dc33ba3\\""},{"_id":"sub4.in","name":"sub4.in","size":2,"lastModified":"2023-05-12T16:23:40.485Z","etag":"\\"d3d9446802a44259755d38e6d163e820\\""},{"_id":"sub4.out","name":"sub4.out","size":6,"lastModified":"2023-05-12T16:23:40.518Z","etag":"\\"55d93228651f58745286b34b7a035077\\""},{"_id":"sub5.in","name":"sub5.in","size":2,"lastModified":"2023-05-12T16:23:40.555Z","etag":"\\"c74d97b01eae257e44aa9d5bade97baf\\""},{"_id":"sub5.out","name":"sub5.out","size":9,"lastModified":"2023-05-12T16:23:40.594Z","etag":"\\"124de474dc19e4fed4e2159e45d91e3a\\""},{"_id":"sub6.in","name":"sub6.in","size":2,"lastModified":"2023-05-12T16:23:40.651Z","etag":"\\"98f13708210194c475687be6106a3b84\\""},{"_id":"sub6.out","name":"sub6.out","size":2,"lastModified":"2023-05-12T16:23:40.683Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub7.in","name":"sub7.in","size":3,"lastModified":"2023-05-12T16:23:40.720Z","etag":"\\"a7aeed74714116f3b292a982238f83d2\\""},{"_id":"sub7.out","name":"sub7.out","size":10,"lastModified":"2023-05-12T16:23:40.757Z","etag":"\\"9582fbd7d6e722a9f25fd040f2656594\\""}
1,{"_id":"sub8.in","name":"sub8.in","size":3,"lastModified":"2023-05-12T16:23:40.791Z","etag":"\\"443cb001c138b2561a0d90720d6ce111\\""},{"_id":"sub8.out","name":"sub8.out","size":2,"lastModified":"2023-05-12T16:23:40.832Z","etag":"\\"6bb61e3b7bce0931da574d19d1d82c88\\""},{"_id":"sub9.in","name":"sub9.in","size":3,"lastModified":"2023-05-12T16:23:40.875Z","etag":"\\"5f2c22cb4a5380af7ca75622a6426917\\""},{"_id":"sub9.out","name":"sub9.out","size":8,"lastModified":"2023-05-12T16:23:40.920Z","etag":"\\"e9aa2a26c2b7ca3128854f22ce2802c8\\""}],"config":{"count":0,"memoryMin":512,"memoryMax":512,"timeMin":100,"timeMax":100,"type":"default"},"html":false,"pid":"SFCR2C","nSubmit":12,"nAccept":0}},"page_name":"contest_scoreboard","groups":[],"UiContext":{"cdn_prefix":"https://cdn.hydro.ac/","url_prefix":"/","ws_prefix":"wss://ws.hydrooj.com/","onlyofficeApi":"https://office.hydro.ac/web-apps/apps/api/documents/api.js","lspHost":"wss://hydro.ac","constantVersion":"75142cdc","domainId":"system","domain":{"_id":"system","owner":1,"name":"Hydro Online Judge","bulletin":"<div class=\\"row\\"><div class=\\"medium-6 columns\\">\\r\\n\\r\\n[想要免费创建一个属于自己的 OJ 吗?](/discuss/6172ceeed850d38c79ae18f9)\\r\\n\\r\\n[新用户必读](/discuss/6080b1d93c27ccf0adb34216)\\r\\n\\r\\n[Hydro 项目用户群](https://jq.qq.com/?_wv=1027&k=0LgdQeGR)(1085853538)\\r\\n\\r\\n[hydro.ac 用户群](https://jq.qq.com/?_wv=1027&k=pKYrk4yp)(1091497622)\\r\\n\\r\\n[给我们投食](https://pay.undefined.moe)\\r\\n\\r\\n[Github Repo (AGPL 3.0)](https://github.com/hydro-dev/Hydro)\\r\\n\\r\\n<!-- ### 最新动态 -->\\r\\n\\r\\n</div><div class=\\"medium-6 columns\\">\\r\\n\\r\\n## 推荐题库列表\\r\\n\\r\\n[æµ´è°· | 计算机科学教育新生态](/d/luogu/)\\r\\n\\r\\n<div class=\\"row\\"><div class=\\"medium-6 small-6 columns\\">\\r\\n\\r\\n[深入浅出基础篇](/d/srqc/)\\r\\n\\r\\n[测试题域](/d/system_test/)\\r\\n\\r\\n[Codeforces](/d/codeforces/)\\r\\n\\r\\n[CCF 真题](/d/ccf/)\\r\\n\\r\\n[USACO](/d/USACO/)\\r\\n\\r\\n[一本通启蒙篇](/d/ybtbas/)/[入门/提高](/d/ybttk/)\\r\\n\\r\\n\\r\\n</div><div class=\\"medium-6 small-6 columns\\">\\r\\n\\r\\n[BZOJ](/d/bzoj/)\\r\\n\\r\\n[SPOJ](/d/spoj/)\\r\\n\\r\\n[UOJ](/d/uoj/)\\r\\n\\r\\n[POJ](/d/poj/)\\r\\n\\r\\n[LOJ](/d/loj/)\\r\\n\\r\\n[AtCoder](/d/atcoder/)\\r\\n\\r\\n</div></div>\\r\\n\\r\\n</div></div>\\r\\n\\r\\n<!-- <blockquote class=\\"note\\"></blockquote> -->\\r\\n\\r\\n","roles":{"guest":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831653805554995641330991233","default":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068423949272583209665","root":"-1","problem_provider":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068424107602257638097","problem_manager":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068425523773269080053","mute":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654063809447857636803201","download":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831654068423949272583210689"},"gravatar":"","join":{"method":1,"role":"root","expire":null},"avatar":"gravatar:[email protected]","share":"*","langs":"","lower":"system","union":["bzoj","uoj","luogu","poj","codeforces","spoj","ccf","loj"],"lastActive":"2024-04-11T07:36:12.334Z","swiper":"- title: Hello, Hydro!\\r\\n  image: /components/navigation/nav-logo-small_dark.png\\r\\n  url: /\\r\\n","config":{"swiper$data":"- title: Hello, Hydro!\\r\\n  image: /components/navigation/nav-logo-small_dark.png\\r\\n  url: /\\r\\n"}},"SWConfig":{"preload":"","hosts":["http://hydro.ac","https://hydro.ac","https://hydro.ac/","/"],"domains":["beta.hydro.ac","xtom-jp.hydro.ac","ali-hk.hydro.ac"]}},"UserContext":"{\\"_id\\":0,\\"mail\\":\\"[email protected]\\",\\"uname\\":\\"Guest\\",\\"hashType\\":\\"hydro\\",\\"priv\\":8,\\"regat\\":\\"1970-01-01T00:00:00.000Z\\",\\"loginat\\":\\"1970-01-01T00:00:00.000Z\\",\\"perm\\":\\"BigInt::10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831653805554995641330991233\\",\\"role\\":\\"guest\\",\\"scope\\":\\"BigInt::-1\\",\\"tfa\\":false,\\"authn\\":false,\\"group\\":[],\\"domains\\":[],\\"timeZone\\":\\"Asia/Shanghai\\",\\"codeLang\\":\\"cc.
1cc17o2\\",\\"avatar\\":\\"gravatar:[email protected]\\",\\"gender\\":2,\\"backgroundImage\\":\\"/components/profile/backgrounds/1.jpg\\",\\"unreadMsg\\":30,\\"pinnedDomains\\":[],\\"fontFamily\\":\\"Open Sans\\",\\"codeFontFamily\\":\\"Source Code Pro\\",\\"preferredEditorType\\":\\"sv\\",\\"monacoTheme\\":\\"vs-light\\",\\"theme\\":\\"light\\",\\"formatCode\\":true,\\"formatStyle\\":\\"BasedOnStyle: WebKit\\\\nBreakBeforeBraces: Custom\\\\nAllowShortCaseLabelsOnASingleLine: true\\\\nAllowShortBlocksOnASingleLine: true\\\\nAllowShortIfStatementsOnASingleLine: true\\\\nAllowShortLoopsOnASingleLine: true\\\\n\\",\\"plugins\\":[\\"dq6kElvpcM0DGcQvJjzC3J96SgGDY7E1\\"],\\"balance\\":20000,\\"star\\":true,\\"rpInfo\\":{},\\"avatarUrl\\":\\"//cn.gravatar.com/avatar/97119d3d15d5201ab506330ed4bab0f7?d=mm&s=128\\"}"}'));function O(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],t=(0,i.useMemo)(()=>(0,o.e)(C),[]);return(0,r.ZP)(()=>a.every(Boolean)&&"/api/contest/".concat(e,"/scoreboard"),t,{use:[(0,o.j)(j,n)]})}async function A(e,a){let n=new URLSearchParams;return n.append("operation",a),(0,o.e)(u.P,!0)("/api/contest/".concat(e),{method:"POST",body:n,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}})}},19304:function(e,a,n){n.d(a,{YS:function(){return d},c2:function(){return w},Bn:function(){return G},jx:function(){return D},EC:function(){return L},rd:function(){return N},Ae:function(){return F},xW:function(){return E},q9:function(){return K},$K:function(){return H},yJ:function(){return J},TE:function(){return Y},Me:function(){return O},zt:function(){return z},o9:function(){return A},rm:function(){return U},UP:function(){return X},qo:function(){return B},P4:function(){return I},lS:function(){return j},TW:function(){return q}});var t,d,i=n(31229),o=n(2265),r=n(96153),s=n(63861),l=n(19787),u=n(45959),c=n(81921);let b=i.IM(i.Rx()),f=i.G0([i.Z_(),i.Rx()]),m=i.Ry({_id:i.Z_(),content:i.Z_(),owner:i.Rx(),domainId:i.Z_(),docType:i.Rx(),docId:i.Z_()}),p=i.Ry({_id:f,content:i.Z_(),owner:i.Rx(),domainId:i.Z_(),docType:i.Rx(),docId:f,duration:i.lB(),title:i.Z_(),rule:i.Z_(),beginAt:i.Z_(),endAt:i.Z_(),pids:i.IX(i.Rx()),attend:i.Rx(),rated:i.O7(),allowViewCode:i.O7(),assign:i.IX(i.Yj()),autoHide:i.O7(),lockAt:i.G0([l.OK,i.lB()]),maintainer:i.IX(i.Rx()),files:i.G0([i.IX(i.Yj()),i.lB()]).optional(),unlocked:i.G0([i.O7(),i.lB()]).optional(),type:i.Rx(),id:f,hidden:i.O7()}),y=i.Ry({count:i.Rx(),memoryMin:i.Rx(),memoryMax:i.Rx(),timeMin:i.Rx(),timeMax:i.Rx(),type:i.Z_()}),g=i.Ry({_id:i.Z_(),owner:i.Rx(),domainId:i.Z_(),docType:i.Rx(),docId:i.Rx(),title:i.Z_(),tag:i.IX(i.Z_()),hidden:i.O7(),nSubmit:i.Rx(),nAccept:i.Rx(),pid:i.Z_(),c
1onfig:y,type:i.Rx(),id:i.Rx(),stats:l.ks.optional()}),_=i.Ry({title:i.Z_(),_id:i.Z_(),content:i.Z_(),owner:i.Rx(),domainId:i.Z_(),docType:i.Rx(),docId:i.Z_(),type:i.Rx(),id:i.Z_()}),v=i.G0([g,_,p]),$=i.Yj().optional().default({}),h=i.IM(i.Z_(),v),w=i.Ry({_id:i.Rx(),uname:i.Z_(),mail:i.Z_(),perm:i.Z_(),role:i.Z_(),priv:i.Rx(),regat:l.OK,loginat:l.OK,tfa:i.O7(),authn:i.O7(),avatar:i.Z_().optional().default("")}),Z=i.Ry({_id:i.Z_(),owner:i.Rx(),domainId:i.Z_(),docType:i.Rx(),docId:i.Z_(),title:i.Z_(),nReply:i.Rx(),highlight:i.O7(),pin:i.O7(),updateAt:l.OK,views:i.Rx(),hidden:i.O7(),parentType:i.Rx(),parentId:f,nodeName:i.Z_().optional().default(""),nodeUrl:i.Z_().optional().default("/discuss"),edited:i.G0([i.O7(),i.lB()]).optional(),content:i.Z_().optional().default(""),react:b.optional().default({}),lock:i.O7().nullable().optional().default(!1)}),T=i.Ry({ddocs:i.IX(Z),dpcount:i.Rx(),udict:i.IM(i.Z_(),w),page:i.Rx(),page_name:i.Z_(),vndict:i.IM(i.Z_(),h),vnode:$,vnodes:i.IX(m),UiContext:l.Ym,UserContext:i.Z_()}),M=T.parse(JSON.parse('{\n  "ddocs": [],\n  "dpcount": 1,\n  "udict": {},\n  "page": 1,\n  "page_name": "discussion_main",\n  "vndict": {},\n  "vnode": {},\n  "vnodes": [],\n  "UiContext": {\n    "cdn_prefix": "/",\n    "url_prefix": "/",\n    "ws_prefix": "/",\n    "nav_logo_dark": "/components/navigation/nav-logo-small_dark.png",\n    "constantVersion": "e542dcb5",\n    "domainId": "system",\n    "domain": {\n      "_id": "system",\n      "lower": "system",\n      "owner": 1,\n      "name": "Hydro",\n      "bulletin": "### 欢迎来到 Hydro !  \\r\\n\\r\\n当你看到这行字时,说明 Hydro 的基础功能已经正常运行。  \\r\\n下一步您应该:\\r\\n\\r\\n- 在右上角注册一个账号。  \\r\\n- 回到刚刚的终端,使用 `hydrooj cli user setSuperAdmin 2` 将 UID 为 2 的用户设置为超级管理员。  \\r\\n- 使用 `pm2 restart hydrooj` 重启以使管理员更改立刻生效。  \\r\\n- 前往 “题库” 面板,查看创建的示例题目是否正常工作。  \\r\\n- 使用超级管理员账号登录,通读 [控制面板 -> 系统设置](/manage/setting) 页面,按需配置。  \\r\\n\\r\\n如果您需要可以直接导入的题目,可以 [加入 Hydro 用户群](https://jq.qq.com/?_wv=1027&k=pKYrk4yp) 或是 [从 Hydro 题库下载](https://hydro.ac/d/tk/p) 。  \\r\\n您也可以下载 [一本通编程启蒙](https://hydro.ac/ybtbas.zip) 题库并按照压缩包内说明导入系统。  \\r\\n如果您需要题目配置指南,可以 [查看文档](https://hydro.js.org) 或是 [查看配置示例](https://hydro.ac/d/system_test/) 。\\r\\n\\r\\n当你已经熟悉本系统的操作,可以在 [管理域 > 编辑域资料](/domain/edit) 页面修改或隐藏这条消息。\\r\\n\\r\\n### Welcome to Hydro !  \\r\\n\\r\\nIf you see this line, it means Hydro is running normally.  \\r\\nNext step you should:\\r\\n\\r\\n- Register a new account.  \\r\\n- Go back to the terminal, use `hydrooj cli user setSuperAdmin 2` to set user with UID 2 as super admin.  \\r\\n- Use `pm2 restart hydrooj` to make the change take effect.  \\r\\n- Go to “Problems” panel, check whether the example problem is working properly.  \\r\\n- Use super admin account to login, read the [Control panel -> System settings](/manage/setting) page, configure as needed.\\r\\n\\r\\nIf you want to import problems, you can join [Hydro user group](https://jq.qq.com/?_wv=1027&k=pKYrk4yp) \\r\\nor download from [Hydro problem library](https://hydro.ac/d/tk/p) .  \\r\\nIf you need problem configuration guide, you can [view the document](https://hydro.js.org) or \\r\\n[view examples](https://hydro.ac/d/system_test/) .\\r\\n\\r\\nThis message can be modified in [Domain > Edit information](/domain/edit) page.\\r\\n",\n      "roles": {\n        "guest": "10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652661870373870220902529",\n        "default": "10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652814131062481663787713"\n      },\n      "avatar": "",\n      "langs": "cc.cc14o2,cc.cc14,py.py3,cc,py",\n      "share": "*"\n    },\n    "SWConfig": {\n      "preload": "",\n      "hosts": [\n        "http://110.42.236.222",\n        "https://110.42.236.222",\n        "/",\n        "/"\n      ],\n      "domains": []\n    }\n  },\n  "UserContext": ""\n}\n'));function q(e){let a=(0,o.useMemo)(()=>(0,r.e)(T),[]);return(0,s.ZP)("/api".concat(e),a,{use:[(0,r.j)(M)]})}async function z(e){return await fetch("/api".concat(e),{headers:c.Su}).then(e=>e.json()).then(e=>T.parse(e))}function I(e){for(let a=0;a<e.ddocs.length;a++){let n=e.ddocs[a].parentType,t=e.ddocs[a].parentId;e.ddocs[a].nodeName=e.vndict[n][t].title,e.ddocs[a].nodeUrl="/discuss/".concat((0,u.w$)(n),"/").concat(t)}}let x=i.Ry({_id:i.Z_(),docId:i.Z_(),docType:i.Rx(),domainId:i.Z_(),uid:i.Rx(),view:i.O7(),react:b.optional().default({}),star:i.O7().optional().default(!1)}),k=i.Ry({_id:i.Z_(),ip:i.Z_(),editor:i.Rx(),content:i.Z_(),owner:i.Rx()}
1),S=i.Ry({_id:i.Z_(),content:i.Z_(),owner:i.Rx(),domainId:i.Z_(),docType:i.Rx(),docId:i.Z_(),ip:i.Z_(),editor:i.Rx().optional(),parentType:i.Rx(),parentId:i.Z_(),reply:i.IX(k).optional().default([]),react:b.optional().default({})}),R=i.Ry({path:i.IX(i.IX(i.Yj())),ddoc:Z,dsdoc:x.nullable(),drdocs:i.IX(S),page:i.Rx(),pcount:i.Rx(),drcount:i.Rx(),udict:i.IM(i.Z_(),w),vnode:$,reactions:i.IM(i.Z_(),b),UiContext:l.Ym,UserContext:i.Z_()}),C=R.parse({path:[["Hydro","homepage"],["discussion_main","discussion_main"],["A+B Problem","discussion_node",{type:"problem",name:1},!0],["this is a disscussion",null,null,!0]],ddoc:{_id:"661e42dbcdd539536baaf6c2",content:"# test test test\r\n\r\n```cpp\r\nint main() {\r\nreturn 114514;\r\n}\r\n```",owner:1,domainId:"system",docType:21,docId:"661e42dbcdd539536baaf6c2",title:"this is a disscussion",nReply:1,highlight:!1,pin:!1,updateAt:"2024-04-16T10:06:52.277Z",views:2,hidden:!1,parentType:10,parentId:1},dsdoc:{_id:"661e42dbe95a81a919377ad3",docId:"661e42dbcdd539536baaf6c2",docType:21,domainId:"system",uid:1,view:!0},drdocs:[{_id:"661e4d1ecdd539536baaf6d4",content:"test test test",owner:1,domainId:"system",docType:22,docId:"661e4d1ecdd539536baaf6d4",ip:"117.135.91.186",editor:1,parentType:21,parentId:"661e42dbcdd539536baaf6c2",reply:[{_id:"661e4d60cdd539536baaf6d7",ip:"117.135.91.186",editor:1,content:"a reply",owner:1},{_id:"661e4dbccdd539536baaf6da",ip:"117.135.91.186",editor:1,content:"reply in reply @[](/user/1)",owner:1}]}],page:1,pcount:1,drcount:1,udict:{1:{_id:1,uname:"Hydro",mail:"[email protected]",perm:"BigInt::-1",role:"root",priv:4,regat:"2024-01-25T03:47:09.559Z",loginat:"2024-01-25T03:47:09.559Z",tfa:!1,authn:!1},2:{_id:1,uname:"test2",mail:"[email protected]",perm:"BigInt::10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652814131062481663787713",role:"default",priv:16842756,regat:"2024-04-05T15:35:55.281Z",loginat:"2024-04-14T14:35:26.098Z",tfa:!1,authn:!1}},vnode:{_id:"65b1d9bdc641f2052e8b07c5",owner:1,domainId:"system",docType:10,docId:1,title:"A+B Problem",tag:["系统测试"],hidden:!1,nSubmit:22,nAccept:3,pid:"P1000",stats:{AC:9,WA:8,TLE:1,MLE:0,RE:1,SE:0,IGN:0,CE:3,s0:12,s50:1,s100:9},config:{count:0,memoryMin:256,memoryMax:256,timeMin:1e3,timeMax:1e3,type:"default"},type:10,id:1},reactions:{"661e42dbcdd539536baaf6c2":{},"661e4d1ecdd539536baaf6d4":{}},UiContext:{cdn_prefix:"/",url_prefix:"/",ws_prefix:"/",nav_logo_dark:"/components/navigation/nav-logo-small_dark.png",constantVersion:"e542dcb5",domainId:"system",domain:{_id:"system",lower:"system",owner:1,name:"Hydro",bulletin:"### 欢迎来到 Hydro !  \r\n\r\n当你看到这行字时,说明 Hydro 的基础功能已经正常运行。  \r\n下一步您应该:\r\n\r\n- 在右上角注册一个账号。  \r\n- 回到刚刚的终端,使用 `hydrooj cli user setSuperAdmin 2` 将 UID 为 2 的用户设置为超级管理员。  \r\n- 使用 `pm2 restart hydrooj` 重启以使管理员更改立刻生效。  \r\n- 前往 “题库” 面板,查看创建的示例题目是否正常工作。  \r\n- 使用超级管理员账号登录,通读 [控制面板 -> 系统设置](/manage/setting) 页面,按需配置。  \r\n\r\n如果您需要可以直接导入的题目,可以 [加入 Hydro 用户群](https://jq.qq.com/?_wv=1027&k=pKYrk4yp) 或是 [从 Hydro 题库下载](https://hydro.ac/d/tk/p) 。  \r\n您也可以下载 [一本通编程启蒙](https://hydro.ac/ybtbas.zip) 题库并按照压缩包内说明导入系统。  \r\n如果您需要题目配置指南,可以 [查看文档](https://hydro.js.org) 或是 [查看配置示例](https://hydro.ac/d/system_test/) 。\r\n\r\n当你已经熟悉本系统的操作,可以在 [管理域 > 编辑域资料](/domain/edit) 页面修改或隐藏这条消息。\r\n\r\n### Welcome to Hydro !  \r\n\r\nIf you see this line, it means Hydro is running normally.  \r\nNext step you should:\r\n\r\n- Register a new account.  \r\n- Go back to the terminal, use `hydrooj cli user setSuperAdmin 2` to set user with UID 2 as super admin.  \r\n- Use `pm2 restart hydrooj` to make the change take effect.  \r\n- Go to “Problems” panel, check whether the example problem is working properly.  \r\n- Use super admin account to login, read the [Control panel -> System settings](/manage/setting) page, configure as needed.\r\n\r\nIf you want to import problems, you can join [Hydro user group](https://jq.qq.com/?_wv=1027&k=pKYrk4yp) \r\nor download from [Hydro problem library](https://hydro.ac/d/tk/p) .  \r\nIf you need problem configuration guide, you can [view the document](https://hydro.js.org) or \r\n[view examples](https://hydro.ac/d/system_test/) .\r\n\r\nThis message can be modified in [Domain > Edit information](/domain/edit) page.\r\n",roles:{guest:"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652661870373870220902529",default:"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652814131062481663787713"},avatar:"",langs:"cc.cc14o2,cc.cc14,py.py3,cc,py",share:"*"},SWConfig:{preload:"",hosts:["http://110.42.236.222","https://110.42.236.222","/","/"],domains:[]}},UserContext:'{"_id":1,"mail":"[email protected]","uname":"test2","hashType":"hydro","priv":16842756,"regat":"2024-04-05T15:35:55.281Z","loginat":"2024-04-14T14:35:26.098Z","perm":"BigInt::10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652814131062481663787713","role":"default","scope":"BigInt::-1","tfa":false,"authn":false,"group":["test2","一班","1"],"domains":[],"viewLang":"en","skipAnimate":false,"timeZone":"Asia/Shanghai","codeLang":"bash","codeTemplate":"","avatar":"github:fuck","gender":2,"backgroundImage":"/components/profile/backgrounds/1.jpg","unreadMsg":1,"pinnedDomains":[],"fontFamily":"Open Sans","codeFontFamily":"Source Code Pro","preferredEditorType":"sv","monacoTheme":"vs-light","theme":"light","showInvisibleChar":false,"formatCode":true,"nAccept":1,"nSubmit":3,"rp":9,"rpInfo":{"problem":9},"rank":1,"level":3,"avatarUrl":"//github.com/fuck.png?size=128"}'});function j(e,a){let n=(0,o.useMemo)(()=>(0,r.e)(R),[]);return(0,s.ZP)("/api/discuss/".concat(e,"?page=").concat(a),n,{use:[(0,r.j)(C)]})}async function O(e,a){return await fetch("/api/discuss/".concat(e,"?page=").concat(a),{headers:c.Su}).then(e=>e.json()).then(e=>R.parse(e))}function A(e){let a="discussion_node";for(let n of e)if(n.includes(a)){let e=n.indexOf(a);if(e<n.length-1&&"object"==typeof n[e+1])return n[e+1].title=n[e-1],n[e+1]}return{type:"",name:"",title:""}}(t=d||(d={}))[t.HOMEPAGE=0]="HOMEPAGE",t[t.DETAIL=1]="DETAIL";let P=e=>{let a="".concat(e.highlight?"highlight=on":"").concat(e.pin?"&pin=on":"");return"title=".concat(encodeURIComponent(e.title),"&content=").concat(encodeURIComponent(e.content)).concat(a?"&"+a:"")};async function N(e,a){return(await fetch("/api/".concat(a,"/create"),{method:"POST",headers:{...c.Su,"Content-Type":"application/x-www-form-urlencoded"},body:P(e)})).json()}async function H(e,a){return(await fetch("/api/discuss/".concat(a,"/edit"),{method:"POST",headers:{...c.Su,"Content-Type":"application/x-www-form-urlencoded"},body:P(e)+"&operation=update"})).json()}async function F(e){return(await fetch("/api/discuss/".concat(e,"/edit"),{method:"POST",headers:{...c.Su,"Content-Type":"application/x-www-form-urlencoded"},body:"operation=delete"})).json()}async function L(e,a){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:{...c.Su,"Content-Type":"application/x-www-form-urlencoded"},body:a?"operation=set_lock&lock=1":"operation=set_lock"})).json()}async function B(e,a){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:{...c.Su,"Content-Type":"application/x-www-form-urlencoded"},body:a?"operation=star":"operation=unstar"})).json()}async function U(e,a,n){let t={operation:"reaction",nodeType:"did",id:e,emoji:a,reverse:n=n||!1};return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify(t)})).json()}async function G(e,a){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify({operation:"reply",content:a})})).json()}async function E(e,a){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify({operation:"delete_reply",drid:a})})).json()}async function J(e,a,n){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify({operation:"edit_reply",drid:a,content:n})})).json()}async function X(e,a,n,t){let d={operation:"reaction",nodeType:"drid",id:a,emoji:n,reverse:t=t||!1};return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify(d)})).json()}async function D(e,a,n){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify({operation:"tail_reply",drid:a,content:n})})).json()}async function Y(e,a,n,t){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify({operation:"edit_tail_reply",drid:a,drrid:n,content:t})})).json()}async function K(e,a,n){return(await fetch("/api/discuss/".concat(e),{method:"POST",headers:c.Su,body:JSON.stringify({operation:"delete_tail_reply",drid:a,drrid:n})})).json()}},59151:function(e,a,n){n.d(a,{Qo:function(){return v},Rw:function(){return y},bU:function(){return c},g7:function(){return m}});var t=n(31229),d=n(19787),i=n(21032),o=n(25050),r=n(96153),s=n(2265),l=n(63861),u=n(81921);let c=d.PE;t.Ry({_id:t.Z_(),content:t.Z_(),owner:t.Rx(),domainId:t.Z_(),docType:t.Rx(),docId:t.Z_(),dag:t.IX(i.oR),assign:t.IX(t.Z_()),maintainer:t.IX(t.Rx()),title:t.Z_(),rule:t.Z_(),beginAt:t.oQ.date(),endAt:t.oQ.date(),pids:t.IX(t.Rx()),attend:t.Rx(),rated:t.O7()});let b=t.Ry({page:t.Rx(),rdocs:t.IX(c),tdoc:t.Yj(),pdict:d.LR,udict:d.TE,all:t.O7(),allDomain:t.O7(),filterPid:t.Rx().optional(),filterTid:t.Z_().optional(),filterUidOrName:t.Z_().optional(),filterStatus:t.Rx().optional(),notification:t.IX(t.Yj()),UiContext:d.Ym}),f=b.parse({page:1,rdocs:[],tdoc:null,pdict:{},udict:{},all:!1,allDomain:!1,notification:[],userInfoDict:{},UiContext:{cdn_prefix:"/",url_prefix:"/",ws_prefix:"/",constantVersion:"af5ae75d",domainId:"system",domain:{_id:"system",lower:"system",owner:1,name:"Hydro",bulletin:"MXOJ - Beta",roles:{manage_problem:"1370624076369593599985",manage_user:"1370624076369558733507"},avatar:"",langs:"",share:""},SWConfig:{preload:"",hosts:["http://admin.oier.team","https://admin.oier.team","/","/"],domains:[]}},UserContext:'{"_id":0,"mail":"[email protected]","uname":"Guest","hashType":"hydro","priv":8,"regat":"2024-05-12T03:52:38.119Z","loginat":"2024-05-12T03:52:38.119Z","perm":"BigInt::1218075157381964136577","role":"guest","scope":"BigInt::-1","tfa":false,"authn":false,"group":[],"domains":[],"timeZone":"Asia/Shanghai","codeLang":"bash","avatar":"gravatar:[email protected]","gender":2,"backgroundImage":"/components/profile/backgrounds/1.jpg","unreadMsg":5,"pinnedDomains":[],"fontFamily":"Open Sans","codeFontFamily":"Source Code Pro","preferredEditorType":"sv","monacoTheme":"vs-light","theme":"light","formatCode":true,"showTimeAgo":true,"rpInfo":{},"avatarUrl":"//cn.gravatar.com/avatar/97119d3d15d5201ab506330ed4bab0f7?d=mm&s=128"}'});function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,a=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,t=arguments.length>3?arguments[3]:void 0,d=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;t=t===o.Q_.STATUS_ALL?void 0:t;let u=new URLSearchParams({page:e.toString(),uidOrName:a||"",pid:n||"",status:(null==t?void 0:t.toString())||"",lang:d||"",tid:i||""}),c=(0,s.useMemo)(()=>(0,r.e)(b),[]);return(0,l.ZP)("/api/record?".concat(u),c,{use:[(0,r.j)(f,!1)]})}let p=t.Ry({avatarUrl:t.Z_(),displayName:t.Z_().optional().default(""),uname:t.Z_(),_id:t.Rx(),mail:t.Z_()});
1async function y(e){return e?(await fetch("/api/d/system/api",{method:"POST",headers:u.Su,body:JSON.stringify({query:'query {\n                  users(search: "'.concat(e,'") {\n                    _id\n                    uname\n                    displayName\n                    avatarUrl\n                    mail\n                    }\n                  }')})}).then(e=>e.json())).data.users:[]}t.Ry({data:t.Ry({users:t.IX(p)})}),t.IX(p);let g=t.Ry({docId:t.Rx(),domainId:t.Z_(),pid:t.Z_(),title:t.Z_(),_id:t.Z_()}),_=t.IX(g);async function v(e){if(!e)return[];{let a=(0,r.e)(_,!0);return await a("/api/d/system/problem/list?prefix=".concat(e))}}},28287:function(e,a,n){n.d(a,{P:function(){return d}});var t=n(31229);let d=t.Ry({url:t.Z_()})},21032:function(e,a,n){n.d(a,{A$:function(){return m},HU:function(){return p},OT:function(){return y},oR:function(){return u},p3:function(){return c},wC:function(){return l}});var t=n(63861),d=n(31229),i=n(2265),o=n(96153),r=n(19787),s=n(22770);let l=d.Ry({_id:d.Z_(),docId:d.Z_(),docType:d.Rx(),domainId:d.Z_(),uid:d.Rx(),done:d.O7(),doneNids:d.IX(d.Yj()),donePids:d.IX(d.Yj()),enroll:d.G0([d.Rx(),d.lB()]).optional()}),u=d.Ry({_id:d.Rx(),title:d.Z_(),requireNids:d.IX(d.Rx()).optional().default([]),pids:d.IX(d.Rx()),lecture:d.G0([d.O7(),d.Z_()]).optional()}),c=d.Ry({_id:d.Z_(),content:d.Z_(),owner:d.Rx(),domainId:d.Z_(),docType:d.Rx(),docId:d.Z_(),dag:d.IX(u),title:d.Z_(),description:d.Z_().optional(),attend:d.Rx(),pin:d.Rx().optional()}),b=d.Ry({tdocs:d.IX(c),page:d.Rx(),tpcount:d.Rx(),tsdict:d.IM(d.Z_(),l),tdict:d.IM(d.Z_(),c),UiContext:r.Ym,UserContext:d.Z_()}),f=b.parse(JSON.parse('{"tdocs":[{"_id":"65fda535cdd539536baae044","content":"001","owner":2,"domainId":"system","docType":40,"docId":"65fda535cdd539536baae044","dag":[{"_id":1,"title":"最初的最初 - A+B Problem","requireNids":[],"pids":[1]},{"_id":2,"title":"最初的进阶","requireNids":[1],"pids":[2,3]}],"title":"123","description":"002","attend":0,"pin":0}],"page":1,"tpcount":1,"tsdict":{"65fda535cdd539536baae044":{"_id":"65fda535e95a81a91966eceb","docId":"65fda535cdd539536baae044","docType":40,"domainId":"system","uid":2,"done":false,"doneNids":[],"donePids":[]}},"tdict":{"65fda535cdd539536baae044":{"_id":"65fda535cdd539536baae044","content":"001","owner":2,"domainId":"system","docType":40,"docId":"65fda535cdd539536baae044","dag":[{"_id":1,"title":"最初的最初 - A+B Problem","requireNids":[],"pids":[1]},{"_id":2,"title":"最初的进阶","requireNids":[1],"pids":[2,3]}],"title":"123","description":"002","attend":0,"pin":0}},"UiContext":{"cdn_prefix":"/","url_prefix":"/","ws_prefix":"/","nav_logo_dark":"/components/navigation/nav-logo-small_dark.png","constantVersion":"252b2454","domainId":"system","domain":{"_id":"system","lower":"system","owner":1,"name":"Hydro","bulletin":"### 欢迎来到 Hydro !  \\n\\n当你看到这行字时,说明 Hydro 的基础功能已经正常运行。  \\n下一步您应该:\\n\\n- 在右上角注册一个账号。  \\n- 回到刚刚的终端,使用 `hydrooj cli user setSuperAdmin 2` 将 UID 为 2 的用户设置为超级管理员。  \\n- 使用 `pm2 restart hydrooj` 重启以使管理员更改立刻生效。  \\n- 前往 “题库” 面板,查看创建的示例题目是否正常工作。  \\n- 使用超级管理员账号登录,通读 [控制面板 -> 系统设置](/manage/setting) 页面,按需配置。  \\n\\n如果您需要可以直接导入的题目,可以 [加入 Hydro 用户群](https://jq.qq.com/?_wv=1027&k=pKYrk4yp) 或是 [从 Hydro 题库下载](https://hydro.ac/d/tk/p) 。  \\n您也可以下载 [一本通编程启蒙](https://hydro.ac/ybtbas.zip) 题库并按照压缩包内说明导入系统。  \\n如果您需要题目配置指南,可以 [查看文档](https://hydro.js.org) 或是 [查看配置示例](https://hydro.ac/d/system_test/) 。\\n\\n当你已经熟悉本系统的操作,可以在 [管理域 > 编辑域资料](/domain/edit) 页面修改或隐藏这条消息。\\n\\n### Welcome to Hydro !  \\n\\nIf you see this line, it means Hydro is running normally.  \\nNext step you should:\\n\\n- Register a new account.  \\n- Go back to the terminal, use `hydrooj cli user setSuperAdmin 2` to set user with UID 2 as super admin.  \\n- Use `pm2 restart hydrooj` to make the change take effect.  \\n- Go to “Problems” panel, check whether the example problem is working properly.  \\n- Use super admin account to login, read the [Control panel -> System settings](/manage/setting) page, configure as needed.\\n\\nIf you want to import problems, you can join [Hydro user group](https://jq.qq.com/?_wv=1027&k=pKYrk4yp) \\nor download from [Hydro problem library](https://hydro.ac/d/tk/p) .  \\nIf you need problem configuration guide, you can [view the document](https://hydro.js.org) or \\n[view examples](https://hydro.ac/d/system_test/) .\\n\\nThis message can be modified in [Domain > Edit information](/domain/edit) page.\\n","roles":{"guest":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652661870373870220902529","default":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652814131062481663787713"},"avatar":""},"SWConfig":{"hosts":["http://110.42.236.222","https://110.42.236.222","/","/"],"domains":[]}},"UserContext":"{\\"_id\\":2,\\"mail\\":\\"[email protected]\\",\\"uname\\":\\"panda\\",\\"hashType\\":\\"hydro\\",\\"priv\\":-1,\\"regat\\":\\"2024-01-25T04:16:18.260Z\\",\\"loginat\\":\\"2024-03-22T15:34:40.720Z\\",\\"perm\\":\\"BigInt::-1\\",\\"role\\":\\"root\\",\\"scope\\":\\"BigInt::-1\\",\\"tfa\\":false,\\"authn\\":false,\\"group\\":[\\"teachers\\",\\"一班\\",\\"三班\\",\\"二班\\",\\"2\\"],\\"domains\\":[{\\"_id\\":\\"HC01\\",\\"lower\\":\\"hc01\\",\\"owner\\":2,\\"name\\":\\"Happy\\",\\"bulletin\\":\\"jasfjwlkefqwkf\\",\\"roles\\":{},\\"avatar\\":\\"gravatar:[email protected]\\"},{\\"_id\\":\\"HC02\\",\\"lower\\":\\"hc02\\",\\"owner\\":2,\\"name\\":\\"比赛场\\",\\"bulletin\\":\\"惹是生非吊\\",\\"roles\\":{},\\"avatar\\":\\"gravatar:[email protected]\\",\\"langs\\":\\"cc.
1cc14,cc.cc11,cc.cc17,cc.cc14o2,py.py3,cc,py\\",\\"share\\":\\"*\\"}],\\"timeZone\\":\\"Asia/Shanghai\\",\\"avatar\\":\\"gravatar:[email protected]\\",\\"gender\\":2,\\"backgroundImage\\":\\"/components/profile/backgrounds/1.jpg\\",\\"pinnedDomains\\":[\\"HC01\\",\\"HC02\\"],\\"fontFamily\\":\\"Open Sans\\",\\"codeFontFamily\\":\\"Source Code Pro\\",\\"preferredEditorType\\":\\"sv\\",\\"monacoTheme\\":\\"vs-light\\",\\"theme\\":\\"light\\",\\"formatCode\\":true,\\"nAccept\\":0,\\"nSubmit\\":1,\\"rp\\":0,\\"rpInfo\\":{},\\"level\\":0,\\"avatarUrl\\":\\"//cn.gravatar.com/avatar/6e2c3561d5c6cbf65471538fcc2e8894?d=mm&s=128\\"}"}')),m=e=>{let a=new URLSearchParams;a.set("page",e.toString());let n=(0,i.useMemo)(()=>(0,o.e)(b),[]);return(0,t.ZP)("/api/training?".concat(a.toString()),n,{use:[(0,o.j)(f)]})},p=(e,a)=>{a=a||!0;let n="未报名",t=new s.Z("#2222ff");if(a){let d=!!a&&(e.enroll||0)>0,i=!!a&&e.done;a&&e.donePids.length,n=i?"已完成":d?"已报名":"未报名",t=new s.Z(i?"#22ff22":d?"#ffff22":"#2222ff")}return[n,t]},y=e=>{let a=[];return e.tdocs.forEach(n=>{let t=n.dag.reduce((e,a)=>e+a.pids.length,0),d=n._id in e.tsdict,i=!!d&&(e.tsdict[n._id].enroll||0)>0,o=!!d&&e.tsdict[n._id].done,r=d?e.tsdict[n._id].donePids.length:0,l=new s.Z(o?"#22ff22":i?"#ffff22":"#2222ff");a.push({_id:n._id,title:n.title,description:n.content,section:n.dag.length,problem:t,attend:n.attend,enroll:i,done:o,complete:r,status_text:o?"已完成":i?"已报名":"未报名",status_color:l})}),[a,[]]}},45959:function(e,a,n){n.d(a,{Eu:function(){return b},ZP:function(){return r},ci:function(){return i},dP:function(){return u},uU:function(){return s},u_:function(){return l},w$:function(){return f},z5:function(){return c}});var t,d,i,o=n(22770);function r(e){return[new o.Z(e).set({"hsl.l":90,"hsl.s":e=>0==e?0:60}),new o.Z(e).set({"hsl.l":45,"hsl.s":e=>0==e?0:60})]}(d||(d={})).System="system";let s={months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],weekdays:["周日","周一","周二","周三","周四","周五","周六"],totalCount:"在 {{year}} 年提交了 {{count}} 次",legend:{less:"少",more:"多"}},l=e=>{let a=5381;for(let n=0;n<e.length;n++)a=(a<<5)+a+e.charCodeAt(n);let n="#";for(let e=0;e<3;e++)n+=("00"+(a>>8*e&255).toString(16)).substr(-2);return new o.Z(n)},u=e=>{if(e){let a=document.getElementById(e);a&&a.scrollIntoView({block:"start",behavior:"smooth"})}},[c,b]=r(new o.Z("hsl(120, 100%, 50%)")),f=e=>{switch(e){case 10:return"problem";case 20:return"node";case 30:return"contest";default:return"unknown"}};(t=i||(i={}))[t.PROBLEM=10]="PROBLEM",t[t.NODE=20]="NODE",t[t.CONTEST=30]="CONTEST"},78378:function(e,a,n){n.d(a,{n:function(){return i}});var t=n(57437);n(2265);var d=n(59926);let i=e=>{let{children:a,className:n}=e;return(0,t.jsx)("span",{className:(0,d.cn)("text-foreground-400 inline-flex gap-1 items-center",n),children:a})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.