mirror of
https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git
synced 2025-02-20 09:46:39 +00:00
chore: allow Bxxxx problems
This commit is contained in:
parent
91035c482a
commit
aa110ef8aa
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
function validateLuoguProblemId($str) {
|
function validateLuoguProblemId($str) {
|
||||||
return preg_match('/^P[1-9][0-9]{3,5}$/', $str);
|
return preg_match('/^(P|B)[1-9][0-9]{3,5}$/', $str);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user