Skip to content

题目 IDE 模式 #111

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion docs/manual/class/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ A:已购买的课程包会在右侧显示【相关资源】,内有课程团

![作业列表](_image/team_homework.jpg)

进入作业页面后,点击【题目列表】查看题目,点击题目名称做题。具体交题帮助:[提交题目](../luogu/problem/submit)。
进入作业页面后,点击【题目列表】查看题目,点击题目名称做题。

![题目列表](_image/homework-1.jpg)

Expand Down
12 changes: 8 additions & 4 deletions docs/manual/luogu/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ sidebar_position: 2

详见[查找题目](./problem/search.md)

## 如何在线调试代码?测样例? {#ide}

在题目详情页面,点击“进入 IDE 模式”,即可进入在线调试页面。此页面可以左右分屏编写代码和查看题面。

点击题面内各组样例边上的运行按钮即可自动输入样例运行程序比较输出结果与样例输出。

程序代码调试完成后可直接点击右上角的【提交】按钮,直接提交进行正式评测。

## 为什么有的题不能提交题解? {#why-cannot-submit-solution}

当这个题题解数量过多,管理员认为没有必要再有更多题解的时候,会自动关闭本题的题解提交入口,故会闪出“不能提交该题题解”。
Expand All @@ -30,10 +38,6 @@ sidebar_position: 2

若低质量题解多次私信申请,会被视为骚扰管理的行为,可能会被予以禁用私信的处罚。私信管理的时候,请附带上题目编号和题解链接。

## 如何完成题目? {#problem-submit}

详见[提交题目](./problem/submit.md)

## 为什么我在本地/其他网站 AC 了,洛谷上却没过? {#why-unac}

- Linux 中换行符是 `\n` 而 Windows 中是 `\r\n`(多一个字符),有些数据在 Windows 中生成,而在洛谷评测机 Linux 环境下评测。这种情况在字符串输入中非常常见。
Expand Down
Binary file removed docs/manual/luogu/problem/_image/submit-1.jpeg
Binary file not shown.
Binary file removed docs/manual/luogu/problem/_image/submit-2.jpeg
Binary file not shown.
Binary file removed docs/manual/luogu/problem/_image/submit-3.jpeg
Binary file not shown.
Binary file removed docs/manual/luogu/problem/_image/submit-4.jpeg
Binary file not shown.
6 changes: 2 additions & 4 deletions docs/manual/luogu/problem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ sidebar_position: 4

题目系统是洛谷 Online Judge 的核心,要开始写一道新的题目,一般就是从这里开始的。

## 提交
## 提交评测

当用户没有登录,或者没有报名该题目所在的正在进行中的比赛,将无法提交题目。评测系统使用控制台标准输入输出,即提交的程序无需进行文件操作。评测忽略行末空格与文尾回车。
当用户没有登录,或者没有报名该题目所在的正在进行中的比赛,将无法提交评测。评测系统使用控制台标准输入输出,即提交的程序无需进行文件操作。评测忽略行末空格与文尾回车。

各语言的标准输入输出方法请参考 [P1001 A+B Problem](https://www.luogu.com.cn/problem/P1001#:~:text=%E6%9C%AC%E9%A2%98%E5%90%84%E7%A7%8D%E8%AF%AD%E8%A8%80%E7%9A%84%E7%A8%8B%E5%BA%8F%E8%8C%83%E4%BE%8B%EF%BC%9A)。

详见:[提交题目](./submit.md)

## 在线评测

洛谷评测系统运行于 Linux 上,语言环境使用 Nix 准备。编译时对目前所有支持 O2 优化的语言将默认开启 O2 优化。
Expand Down
21 changes: 0 additions & 21 deletions docs/manual/luogu/problem/submit.md

This file was deleted.