Git Product home page Git Product logo

ccr-plus's People

Contributors

coelacanthushex avatar equation314 avatar wwt17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ccr-plus's Issues

超时判定bug

当被测程序所用的系统 CPU 时间较多时,虽然最后用户 CPU 时间没超时,但如果总用时大于 时限+10ms,还是会被计时器判定为超时。

Build Failed

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

希望支持Mac

RT.我们还是用Mac的多。
希望作者提出一种转换方案或者是Mac版本。
谢谢,大爱这个评测系统~

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.