Git Product home page Git Product logo

project_lemonlime's Introduction

Project_LemonLime (Beta)

A tiny judging environment for OI contest based on Project_LemonPlus

现已支持 Linux 和 Windows

并且…Lemon 绿了!

  • Ubuntu 14 及以下的系统可能存在兼容性问题

特色

和 Lemon 的不同

  • 任意选手的任意题目评测
  • 重新排列题目顺序
  • 一键评测所有出现 找不到文件/编译问题 的记录
  • Subtask Skip
  • 子任务依赖
  • 手动保存比赛、打开比赛目录(在 文件 菜单栏中)
  • 支持选择子文件夹还是非子文件夹
  • 自定义最大重新评测次数
  • 全新的交互式试题(使用更加通用的方式,目前只支持 C++)
    • 交互库路径:交互使用的头文件。
    • 交互库名称:选手引用头文件的名称。
    • 接口实现路径:实现接口的源文件(grader.cpp)。
  • 支持高 DPI
  • 移除了自定义测试
  • 移除了多线程评测

和 LemonPlus 的不同

  • 选手名单上的成绩将会有背景颜色,随着分数变化而变化。导出的 HTML 文件也有颜色。配色方案大体来自 IOI。
  • 各种评测结果在评测时界面、结果查看界面和 HTML 也有了易于区分的不同的颜色。
  • 减小了导出 HTM 的体积,并且给 HTML 添加了更多跳转。
  • 移除了单题测试。这将成为历史
  • 增加整理文件功能:使所有的选手的子文件夹内外都有答案文件,并且删除大部分无用文件。
  • 增加 帮助 > 指南:一个大坑(有哪位英语好的大佬帮忙中译英一下啊?)
  • 默认的栈空间设置为和内存限制相同。

微小的贡献

  • 评测完后会通知(Ubuntu Only)
  • 自带的实数比较模式判断了 nan 和 inf。来自某出题人的提醒
  • 图标和启动横幅
  • 如果你在某个点得分了,那么在测试时的窗口会显示获得的分数、使用的时间和空间。
  • 测试的时候选手表格每次刷新会按照排名而不是名字排序。看起来像滚榜。
  • 更友好的界面

构建

Windows

Releases 下载可执行文件就可以了。

当然如果你装有 Qt 5,也可以下载源码编译。

Linux (源码编译)

依赖环境

sudo apt install build-essential qt5-default

下载源代码,在源代码目录中依次执行

g++ watcher_unix.cpp -o watcher_unix -O2
g++ realjudge.cpp -o realjudge_linux -O2
qmake lemon.pro
make

获得可执行文件 lemon

当然如果你装有 Qt Creator,也可以用它编译 release 版本。

sudo apt install qtcreator

project_lemonlime's People

Contributors

iotang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.