Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

增加洛谷题目验证码要求 #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
0f-0b merged 5 commits into 0f-0b:main from opzc35:main
Aug 19, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions luogu-api.d.ts
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export interface SubmitCodeRequest {
code: string;
lang?: number;
enableO2?: number;
captcha: string;
}

export interface CreateProblemRequest {
Expand Down
2 changes: 1 addition & 1 deletion problems.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
</tr>
<tr>
<th align="right">请求主体</th>
<td><code>application/json</code> (<code>SubmitCodeRequest</code>) 或 <code>multipart/form-data</code> (<code>{ file: Blob }</code>)</td>
<td><code>application/json</code> (<code>SubmitCodeRequest</code>,如果要求使用验证码,还需加上<code>application/json</code>(<code>captcha</code>)) 或 <code>multipart/form-data</code> (<code>{ file: Blob }</code>,如果要求使用验证码,还需加上<code>application/json</code>(<code>captcha</code>))</td>
</tr>
<tr>
<th align="right">响应主体</th>
Expand Down

AltStyle によって変換されたページ (->オリジナル) /