sxyzccr / ccr-plus Goto Github PK
View Code? Open in Web Editor NEWA simple judging environment for Olympiad in Informatics
License: GNU General Public License v3.0
A simple judging environment for Olympiad in Informatics
License: GNU General Public License v3.0
当被测程序所用的系统 CPU 时间较多时,虽然最后用户 CPU 时间没超时,但如果总用时大于 时限+10ms,还是会被计时器判定为超时。
编译的时候它提示找不到这个库
我该去哪里下啊
我使用debian系统构建后 ,其他都正常,就是评测的时候,提示无法运行进程监视器
系统版本是 Debian GNU/Linux 11 (bullseye)
win7环境变量配置如下:
C:\Program Files\Dev-Cpp\MinGW64\bin
但是测试提示:无法运行程序:216
这个如何解决?
CCR在ubuntu下不支持中文化目录如何破?
Last commit 2017...
And it can't be built now...
通过VS调试器发现如下异常:
0x68ACA77B (Qt5Core.dll) (CCR-Plus.exe 中)处有未经处理的异常: 0xC0000094: Integer division by zero。
急求修复.
自己写的pkgbuild, 通知一下, 以免侵权
Log:
cd src/ && ( test -e Makefile.CCR-Plus || /usr/bin/qmake -o Makefile.CCR-Plus /tmp/CCR-Plus/src/CCR-Plus.pro ) && make -f Makefile.CCR-Plus
make[1]: Entering directory '/tmp/CCR-Plus/src'
g++ -c -pipe -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o configuredialog.o configure/configuredialog.cpp
In file included from ./common/global.h:6,
from configure/configuredialog.cpp:4:
./common/contest.h: In member function ‘void Contest::SortPlayers(bool (*)(const Player*, const Player*))’:
./common/contest.h:47:112: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<Player*>::iterator; LessThan = bool (*)(const Player*, const Player*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
47 | void SortPlayers(bool (*cmp)(const Player* x, const Player* y)) { qSort(players.begin(), players.end(), cmp); }
| ^
In file included from /usr/include/qt/QtCore/qlist.h:43,
from /usr/include/qt/QtGui/qicon.h:45,
from /usr/include/qt/QtWidgets/qabstractbutton.h:44,
from /usr/include/qt/QtWidgets/qcheckbox.h:44,
from /usr/include/qt/QtWidgets/QCheckBox:1,
from configure/configuredialog.cpp:1:
/usr/include/qt/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
configure/configuredialog.cpp: In member function ‘bool ConfigureDialog::apply()’:
configure/configuredialog.cpp:55:52: error: invalid use of incomplete type ‘class QHeaderView’
55 | int t = configure_table->horizontalHeader()->logicalIndex(i);
| ^~
In file included from /usr/include/qt/QtWidgets/QTableView:1,
from ./configure/configuretable.h:4,
from configure/configuredialog.cpp:6:
/usr/include/qt/QtWidgets/qtableview.h:50:7: note: forward declaration of ‘class QHeaderView’
50 | class QHeaderView;
| ^~~~~~~~~~~
configure/configuredialog.cpp: In member function ‘void ConfigureDialog::on_pushButton_adv_clicked()’:
configure/configuredialog.cpp:87:52: error: invalid use of incomplete type ‘class QHeaderView’
87 | int t = configure_table->horizontalHeader()->logicalIndex(i);
| ^~
In file included from /usr/include/qt/QtWidgets/QTableView:1,
from ./configure/configuretable.h:4,
from configure/configuredialog.cpp:6:
/usr/include/qt/QtWidgets/qtableview.h:50:7: note: forward declaration of ‘class QHeaderView’
50 | class QHeaderView;
| ^~~~~~~~~~~
make[1]: *** [Makefile.CCR-Plus:1166: configuredialog.o] Error 1
make[1]: Leaving directory '/tmp/CCR-Plus/src'
make: *** [Makefile:49: sub-src-CCR-Plus-pro-make_first] Error 2
Qt: 5.15.0
GCC: 10.1.0
Linux
我没有开360,环境变量也是好的,为什么不能测评
我试图用linux方法在macOS上用qmake编译,出现了上述问题
spj支持testlib么,要如何用,求教程
RT.我们还是用Mac的多。
希望作者提出一种转换方案或者是Mac版本。
谢谢,大爱这个评测系统~
从终端打开ccrplus,
使用右键编辑代码,
发现vim在打开ccr的终端中打开
解决: 再开一个终端加载vim/nano等命令行下编辑器?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.