Skip to content
This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Commit 8fa22a7

Browse files
committed
rebuild interator & add some new features
1 parent 1760195 commit 8fa22a7

49 files changed

Lines changed: 785 additions & 494 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Example/interaction_example/data/guess/data1.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

Example/interaction_example/data/guess/data2.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

Example/interaction_example/data/guess/data3.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

Example/interaction_example/data/guess/data4.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

Example/interaction_example/data/guess/data5.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

Example/interaction_example/data/guess/interactor.cpp

Lines changed: 0 additions & 73 deletions
This file was deleted.
-411 Bytes
Binary file not shown.

Example/interaction_example/source/pc/guess.cpp

Lines changed: 0 additions & 22 deletions
This file was deleted.

Example/interaction_example/source/std/guess.cpp

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,30 @@ Based on Lemon, More than Lemon.
55

66

77

8-
此分支为开发分支,目前新功能仅支持 win32。不稳定,有问题请联系作者 QQ:2477259579。
8+
在以下系统上做过测试,可以正常运行:
9+
10+
- Windows 7 SP1 x86
11+
- Windows 10 1809 x64
12+
- Ubuntu 16.04.5 LTS amd64
13+
- Ubuntu MATE 18.04.1 LTS amd64
14+
- NOI LINUX (Ubuntu 14.04.2 LTS i386)
15+
- Ubuntu MATE 18.04.1 LTS i386
16+
17+
有问题请联系作者 QQ:2477259579。
918

1019
# 新增
1120

1221
- Subtask Skip
1322
- 子任务依赖
1423
- 支持高 DPI
15-
- 新增手动保存、打开比赛目录(在 `文件`
16-
- 子文件夹支持
24+
- 新增手动保存比赛、打开比赛目录(在 `文件` 菜单栏中
25+
- 支持子文件夹
1726
- 自定义最大重新评测次数(最多10次,默认2次)
27+
- 单题评测
28+
- 全新的交互式试题(使用更加通用的方式,目前只支持 C++)
29+
- 交互库路径:交互使用的头文件。
30+
- 交互库名称:选手引用头文件的名称。
31+
- 接口实现路径:实现接口的源文件(grader.cpp)。
1832

1933
# 移除
2034

@@ -24,17 +38,29 @@ Based on Lemon, More than Lemon.
2438
# 其他更新
2539

2640
- 修复某些情况标准输出不能保存的 bug。
27-
- 修复由 Qt4 更新至 Qt5 存在的某些兼容问题。
41+
- 修复由 Qt4 更新至 Qt5 存在的某些兼容问题。保证使用 lemonPlus 可以打开原版 lemon 的比赛文件。
2842
- 修复 windows 的 release 版本中的 diff.exe 的 dll 文件缺失。
29-
30-
# 开发列表
31-
32-
- 交互式试题重构(将使用更通用接口方式)
33-
- 新增功能的 linux 支持。
43+
- 子任务依赖自动保存。
44+
- 定位部分 linux 系统下无法运行程序的问题,并给出解决方案(见安装方法中)。
3445

3546
# 安装方法
3647
## Windows
37-
下载windows_release.7z,解压后直接运行即可。
48+
下载 windows_release.7z,解压后直接运行即可。
49+
## Linux
50+
51+
先安装依赖环境(必要的):
52+
53+
```bash
54+
sudo apt-get install g++ gcc qt5-default make
55+
```
56+
57+
下载源代码,在源代码目录中执行:
58+
59+
```bash
60+
gcc watcher_unix.c -o watcher_unix -O2
61+
gcc realjudge.c -o reajudge_linux -O2
62+
qmake lemon.pro
63+
make
64+
```
3865

39-
# FAQ
40-
- 无法使用lemon打开lemon+的.cdf。这是正常的,lemon+向lemon兼容,即可以打开lemon的.cdf,但由于lemon+的.cdf新增了一些内容,lemon可能无法打开。
66+
随后使用 `./lemon` 即可运行(某些版本也可以双击运行)。

0 commit comments

Comments
 (0)