QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#303379 | #13. Router | ahihi1234 | 30 | 163ms | 7512kb | C++14 | 3.7kb | 2024-01-12 11:59:12 | 2024-01-12 11:59:13 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 10
Accepted
time: 1ms
memory: 3472kb
input:
1 4 /user/show userShow /user/edit userEdit /user/delete userDelete /message/send messageSend 8 /user/show?handle=WJMZBMR /user/edit?handle=WJMZBMR&type=doubi /user/show2?handle=WJMZBMR /user/delete?handle=WJMZBMR /message/send?from=GuyUpLion&to=WJMZBMR&content=nishishabi /sudo/user/deleteAll?force=...
output:
Case #1: Request matches action "userShow" with parameters {"handle":"WJMZBMR"} Request matches action "userEdit" with parameters {"handle":"WJMZBMR","type":"doubi"} 404 Not Found Request matches action "userDelete" with parameters {"handle":"WJMZBMR"} Request matches action "messageSend" with param...
result:
ok 9 lines
Test #2:
score: 10
Accepted
time: 159ms
memory: 6944kb
input:
5 20000 /Oo/pt/GI/7eSZo GaWpHfuwXZ /Oo/pt/GI/2fD4N PelOZXZAdJ /Oo/pt/GI/Fneu7 GRNGPVcQUD /Oo/pt/GI/ff1OJ YnLFicuZwm /Oo/pt/GI/2YjXS xeJnUIvjZf /Oo/pt/GI/WEbeB dfDQvEfExS /Oo/pt/GI/UbdVz znwCWkROhG /Oo/pt/GI/MVncl SbIoWskvhP /Oo/pt/GI/t37hx LmJAlDmtUs /Oo/pt/GI/bdx1b BMMmjHOTYt /Oo/pt/GI/VkVdo BZqDmn...
output:
Case #1: Request matches action "qryXhOAkdN" with parameters {} Request matches action "WdLaIPgxLe" with parameters {"BeA":"cC7D","EtX":"27vv","kIz":"KrMG"} 404 Not Found 404 Not Found 404 Not Found 404 Not Found Request matches action "LMgsDMAtVl" with parameters {"FvU":"blOL","LCR":"iXzR","Mlk":"Q...
result:
ok 100005 lines
Test #3:
score: 10
Accepted
time: 163ms
memory: 6968kb
input:
5 20000 /mT/kR/E7/nf7mU DtXyJptWQE /mT/kR/E7/HbMdw CInmqffDmM /mT/kR/E7/UwmxK nhKDxbSBoH /mT/kR/E7/QPWxn hPnPoWNeeW /mT/kR/E7/nO0wW wjKYbvenJJ /mT/kR/E7/A9FO5 lVhKuozrNs /mT/kR/E7/sauoC TghZLVCkbg /mT/kR/E7/7OhtX WvPSUjCneI /mT/kR/E7/NaC3w fRClfNGnPI /mT/kR/E7/KVt5P BAZrgwzBXb /mT/kR/E7/5ma44 FhEBYy...
output:
Case #1: Request matches action "NAwUKiVdkz" with parameters {"BCb":"uIAS","Bqx":"YL1q","RZT":"UT33","kDU":"edgN"} Request matches action "RVnVUywRFD" with parameters {} 404 Not Found 404 Not Found 404 Not Found 404 Not Found Request matches action "dUfdJhrOeU" with parameters {"TvA":"LixU","VFR":"r...
result:
ok 100005 lines
Test #4:
score: 0
Wrong Answer
time: 1ms
memory: 3512kb
input:
3 3 /user/:id/show userShow /message/list messageList /message/:id/show messageShow id [0-9]{2,4} 3 /message/list /user/123/show?avatar=true /message/5312/show?page=1 1 /foo/:id/:bar/:bar fun id [0-9]{2,4} bar [a-z]{1,3} 1 /foo/777/az/bc?bar=xyz&bar=zzz 2 /user/:handle/show userShow /user/:id/show u...
output:
Case #1: id [0-9]{2,4} Request matches action "messageList" with parameters {} 404 Not Found 404 Not Found Case #2: id [0-9]{2,4} bar [a-z]{1,3} 404 Not Found Case #3: id [0-9]{2,4} handle ([a-z]|[A-Z])([a-z]|[A-Z]|[0-9]){4,10} 404 Not Found 404 Not Found 404 Not Found 404 Not Found
result:
wrong answer 2nd lines differ - expected: 'Request matches action "messageList" with parameters {}', found: 'id [0-9]{2,4}'
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 3552kb
input:
2 5 /user/:userHandle/show userShow /user/:userHandle/edit userEdit /message/send messageSend /message/:messageId/show messageShow /user/:userHandle/setBirthday/:date userSetBirthday userHandle ([A-Z]|[a-z]){4,10} messageId ([a-z]|[0-9]){8,8} date (19[0-9]{2,2}|200[0-9]|201[0-4])(0[1-9]|1[0-2]) 15 /...
output:
Case #1: userHandle ([A-Z]|[a-z]){4,10} messageId ([a-z]|[0-9]){8,8} date (19[0-9]{2,2}|200[0-9]|201[0-4])(0[1-9]|1[0-2]) 404 Not Found 404 Not Found 404 Not Found 404 Not Found Request matches action "messageSend" with parameters {"content":"hello","from":"crash","to":"WJMZBMR"} 404 Not Found 404 N...
result:
wrong answer 2nd lines differ - expected: 'Request matches action "userSh...rameters {"userHandle":"crash"}', found: 'userHandle ([A-Z]|[a-z]){4,10}'
Test #6:
score: 0
Wrong Answer
time: 0ms
memory: 3480kb
input:
1 9 /a/:expA testA /b/:expB testB /c/:expC testC /d/:expD testD /e/:expE testE /f/:expF testF /g/:expG testG /h/:expH testH /i/:expI testI expA a([b-c]{0,})(c{1,}d) expB a([b-c]{0,})c{0,} expC (a|b|c|d|e)f expD a{1,}b{1,}c expE (((((((((a))))))))) expF a[b-d]e expG (ab{4,5}){0,1}bc expH (a{1,}|b){1,...
output:
Case #1: expA a([b-c]{0,})(c{1,}d) expB a([b-c]{0,})c{0,} expC (a|b|c|d|e)f expD a{1,}b{1,}c expE (((((((((a))))))))) expF a[b-d]e expG (ab{4,5}){0,1}bc expH (a{1,}|b){1,} expI (a{1,}|b){0,1}c 404 Not Found 404 Not Found 404 Not Found 404 Not Found 404 Not Found 404 Not Found 404 Not Found 404 Not F...
result:
wrong answer 2nd lines differ - expected: 'Request matches action "testA" with parameters {"expA":"acd"}', found: 'expA a([b-c]{0,})(c{1,}d)'
Test #7:
score: 0
Wrong Answer
time: 115ms
memory: 6948kb
input:
5 20000 /:d/Xa/pF/qR/AHOJi KcioVpFutT /:B/Xa/pF/qR/vPS8a olfLwawkjj /:h/Xa/pF/qR/F9pAn DlvayDMhBr /:X/Xa/pF/qR/dbiqh hgWRSuyKJb /:B/Xa/pF/qR/bYxcI NMAhONaRqV /:w/Xa/pF/qR/sUqgS jnwOPhLTBc /:e/Xa/pF/qR/jbDTg OYXysAcgaI /:a/Xa/pF/qR/nkDlc MmCDeWkbOh /:m/Xa/pF/qR/3Fu9U IWsFasuAYF /:r/Xa/pF/qR/GBJqj Udl...
output:
Case #1: a a([0-9]|[a-z]|[A-Z]){0,} b b([0-9]|[a-z]|[A-Z]){0,} c c([0-9]|[a-z]|[A-Z]){0,} d d([0-9]|[a-z]|[A-Z]){0,} e e([0-9]|[a-z]|[A-Z]){0,} f f([0-9]|[a-z]|[A-Z]){0,} g g([0-9]|[a-z]|[A-Z]){0,} h h([0-9]|[a-z]|[A-Z]){0,} i i([0-9]|[a-z]|[A-Z]){0,} j j([0-9]|[a-z]|[A-Z]){0,} k k([0-9]|[a-z]|[A-Z]...
result:
wrong answer 2nd lines differ - expected: '404 Not Found', found: 'a a([0-9]|[a-z]|[A-Z]){0,}'
Test #8:
score: 0
Wrong Answer
time: 111ms
memory: 7456kb
input:
5 20000 /:p/AG/I2/:W/qR/yR/WQp1B OMguaUOWeL /:X/AG/I2/:j/qR/yR/LExvw ruPRaSFReN /:f/AG/I2/:R/qR/yR/h69ms mZeBvBQGPt /:S/AG/I2/:L/qR/yR/wqMnI mTAgDZIBZn /:K/AG/I2/:u/qR/yR/kH2fk liGLUxZthV /:r/AG/I2/:N/qR/yR/AOZUz vvywfMeRgD /:e/AG/I2/:P/qR/yR/aR1Ub IdxTrlllRD /:i/AG/I2/:D/qR/yR/F70ob bdERKpqhRA /:c/...
output:
Case #1: a a([0-9]|[a-z]|[A-Z]){0,5} b b([0-9]|[a-z]|[A-Z]){0,5} c c([0-9]|[a-z]|[A-Z]){0,5} d d([0-9]|[a-z]|[A-Z]){0,5} e e([0-9]|[a-z]|[A-Z]){0,5} f f([0-9]|[a-z]|[A-Z]){0,5} g g([0-9]|[a-z]|[A-Z]){0,5} h h([0-9]|[a-z]|[A-Z]){0,5} i i([0-9]|[a-z]|[A-Z]){0,5} j j([0-9]|[a-z]|[A-Z]){0,5} k k([0-9]|[...
result:
wrong answer 2nd lines differ - expected: '404 Not Found', found: 'a a([0-9]|[a-z]|[A-Z]){0,5}'
Test #9:
score: 0
Wrong Answer
time: 117ms
memory: 7512kb
input:
5 20000 /:W/Qf/ZL/:S/ok/Pz/vTPCO tTkHRaRZOl /:y/Qf/ZL/:O/ok/Pz/GXn08 IyKwbtDosO /:m/Qf/ZL/:b/ok/Pz/Yo5aY MyqsYbMazS /:y/Qf/ZL/:W/ok/Pz/ohE9i yCdMJvQuei /:b/Qf/ZL/:y/ok/Pz/mSLAu SnVLmwLWHv /:w/Qf/ZL/:S/ok/Pz/e2uK0 pKIGBMNGKW /:B/Qf/ZL/:J/ok/Pz/6QCz6 CXMuvGooBL /:W/Qf/ZL/:l/ok/Pz/FvMe5 mcaSoGnfmS /:C/...
output:
Case #1: a a(F|z|8|R|c|N|I|a|1|k|3|B|M|u|d|C|y|6|w|2){0,5} b b(z|I|G|Z|X|w|f|g|x|t|9|q|U|A|Q|2|e|D|M|u){0,5} c c(i|M|Y|1|K|R|w|B|c|8|0|v|x|X|9|V|k|y|G|7){0,5} d d(1|L|W|h|c|O|t|T|8|p|q|G|3|J|k|o|m|Y|N|X){0,5} e e(P|7|W|m|i|w|A|g|a|R|y|I|0|8|f|Y|4|E|n|c){0,5} f f(u|2|p|f|l|0|Y|N|G|P|B|3|y|S|w|H|q|O|9...
result:
wrong answer 2nd lines differ - expected: '404 Not Found', found: 'a a(F|z|8|R|c|N|I|a|1|k|3|B|M|u|d|C|y|6|w|2){0,5}'
Test #10:
score: 0
Wrong Answer
time: 133ms
memory: 7432kb
input:
5 20000 /:M/hP/QZ/:b/xN/mD/fH1G5 JHPsElQRqL /:Q/hP/QZ/:c/xN/mD/UfLUT wisHKFtBQg /:O/hP/QZ/:p/xN/mD/nHH8x opUNFZFexx /:S/hP/QZ/:N/xN/mD/6ricK tNIcIMuMzZ /:x/hP/QZ/:i/xN/mD/wLNM3 qlrVWOLgqJ /:Q/hP/QZ/:T/xN/mD/SUqgU SREHWjveiD /:M/hP/QZ/:p/xN/mD/LdLlM UIctkUvzse /:E/hP/QZ/:A/xN/mD/4IzTw gibBlpIuOC /:a/...
output:
Case #1: a a(2|z|w|m|N|i|4|d|3|F|y|S|L|q|l|J|P|p|R|e){0,5} b b(P|F|y|o|9|d|8|C|K|7|b|R|U|V|6|Z|a|4|3|j){0,5} c c(k|j|t|9|D|m|v|S|U|Y|d|J|l|i|I|e|o|O|r|B){0,5} d d(i|Q|d|F|5|E|l|H|s|x|h|9|7|1|M|0|S|a|L|c){0,5} e e(F|s|W|z|k|a|B|d|I|X|f|m|A|p|G|u|L|l|3|M){0,5} f f(b|8|p|r|2|n|s|X|w|S|H|M|9|G|P|U|O|N|4...
result:
wrong answer 2nd lines differ - expected: '404 Not Found', found: 'a a(2|z|w|m|N|i|4|d|3|F|y|S|L|q|l|J|P|p|R|e){0,5}'