zhipeng-jia / project-lemon Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/project-lemon
Automatically exported from code.google.com/p/project-lemon
g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore
-I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I. -I. -o
qtlocalpeer.o qtsingleapplication/qtlocalpeer.cpp
qtsingleapplication/qtlocalpeer.cpp:
在构造函数‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’中:
qtsingleapplication/qtlocalpeer.cpp:96:54: 错误:‘::getuid’未被声明
qtsingleapplication/qtlocalpeer.cpp:96:54: 附注:建议的替代:
In file included from ./qtlockedfile/qtlockedfile_unix.cpp:42:0,
from qtsingleapplication/qtlocalpeer.cpp:60:
/usr/include/unistd.h:697:16: 附注: ‘QtLP_Private::getuid’
make: *** [qtlocalpeer.o] 错误 1
编译失败的部分编译信息如上
qt版本:4.8.2
gcc版本:4.7.1
Original issue reported on code.google.com by [email protected]
on 3 Aug 2012 at 2:20
Windows
Original issue reported on code.google.com by [email protected]
on 27 Aug 2012 at 12:08
一般是前几个小测试点显示超时。
大家有遇到相同问题的吗?
1.把每个测试点的用时都标出来吧……不然就要把其它测试点
全部删掉了才能知道这个测试点到底用了多少时间了……
2.RE的时候最好能把exitcode也标出来(我是p党)
以上
Original issue reported on code.google.com by [email protected]
on 12 Jul 2013 at 5:45
https://github.com/FreestyleOJ/Project_lemon/tree/Built
没想到后来会有那么多人遇到 bug ……
前几天在 16.04 / 18.04 上测试正常
评测的时候无论是Windows还是Linux对内存使用的计算都不准确��
�. 有一个开了100+MB内存的程序, 测出来才20M左右
Original issue reported on code.google.com by [email protected]
on 8 May 2012 at 11:30
假如我的Special
Judge程序是与数据同目录下的“judge.exe”,参数传递也是和你
在首页上说的一致,那我在自定义校验器模式下面的输入框��
�应该输入什么?
Original issue reported on code.google.com by [email protected]
on 28 Oct 2012 at 2:33
在project-lemon/
下执行
qmake lemon.pro; make
返回如下错误信息
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qtlocalpeer.o qtsingleapplication/qtlocalpeer.cpp
qtsingleapplication/qtlocalpeer.cpp: In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’:
qtsingleapplication/qtlocalpeer.cpp:96:54: error: ‘::getuid’ has not been declared
socketName += QLatin1Char('-') + QString::number(::getuid(), 16);
最近在debian下测试一道内存限制为8MB的题目。编写程序的使��
�了6至7MB左右的内存。
结果显示运行错误,错误信息为:
/home/fool/Code/tsinsen/D7025/temp/_0.0/tle: error while loading shared
libraries: libc.so.6: failed to map segment from shared object: Cannot allocate
memory
当程序减少内存占用到限制下3MB以下时,或增加内存限制至10
MB时正常运行,无上面错误信息。
测试使用了SPJ,为python可执行文件。程序使用g++编译。
python版本:2.7.5
g++版本:g++ (Debian 4.8.1-9) 4.8.1
系统为Debian GNU/Linux jessie/sid
Original issue reported on code.google.com by [email protected]
on 12 Dec 2013 at 11:56
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qtlocalpeer.o qtsingleapplication/qtlocalpeer.cpp
qtsingleapplication/qtlocalpeer.cpp: In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’:
qtsingleapplication/qtlocalpeer.cpp:96:54: error: ‘::getuid’ has not been declared
socketName += QLatin1Char('-') + QString::number(::getuid(), 16);
好像mac终端里是linux环境。。。还是一定要在装linux虚拟机?
Original issue reported on code.google.com by [email protected]
on 19 Oct 2014 at 3:00
因为realjudge_linux和watcher_unix都是ELF32格式,在没有32位库的环境下就会无法评测。
解决方法:在本机重新编译realjudge.c和watcher_unix.c。
建议加入工程文件。
What steps will reproduce the problem?
1. put something dangerous/illegal into source code
system("rm -rf /")
search for standard output file under home directory
attach and debug lemon
modify other users' programs
kill you
2. use lemon to judge it
3. all hell breaks loose
What is the expected output? What do you see instead?
this defect makes lemon unusable for serious competitions.
What version of the product are you using? On what operating system?
maybe all
Please provide any additional information below.
several good solutions do exist.
Haoqiang FAN gave a talk at BJWC2013 and posted some odp:
http://fanhq666.blog.163.com/blog/static/8194342620131510211721/
his solution involves ptrace and setrlimit, which is good for *nix, but makes
life hard under Micro$oft Windows.
he is willing to participate in this project.
if you are interested, mailto fanhqme[[at]]126.com/fanhqme[[at]]gmail.com (make
sure you use Chinese whenever possible)
Original issue reported on code.google.com by [email protected]
on 10 Feb 2013 at 1:49
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qtlocalpeer.o
qtsingleapplication/qtlocalpeer.cpp
qtsingleapplication/qtlocalpeer.cpp:
在构造函数‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’中:
qtsingleapplication/qtlocalpeer.cpp:96:54: 错误: ‘::getuid’未被声明
qtsingleapplication/qtlocalpeer.cpp:96:54: 附注: 建议的替代:
In file included from ./qtlockedfile/qtlockedfile_unix.cpp:42:0,
from qtsingleapplication/qtlocalpeer.cpp:60:
/usr/include/unistd.h:698:16: 附注: ‘QtLP_Private::getuid’
make: *** [qtlocalpeer.o] 错误 1
Original issue reported on code.google.com by [email protected]
on 9 Nov 2012 at 8:50
系统:ubuntu14.04
我的比赛是放在home里的,没有在其他硬盘或者u盘
Original issue reported on code.google.com by [email protected]
on 9 Oct 2014 at 2:14
...为什么没有运行时参数的功能呢?还是我不知道?
比如 在终端 lemon ~/Desktop/3.8/test.cdf
这样打开一次测试不是很好么...
Original issue reported on code.google.com by [email protected]
on 8 Mar 2013 at 6:20
如果有交互式问题(POI、NOI都有),请问如何评测?
Original issue reported on code.google.com by [email protected]
on 1 Feb 2013 at 8:16
本人在fedora16下测试成功
1、安装 qt-devel
2、不要输入qmake, 而是qmake-qt4
编译过程很顺利
Original issue reported on code.google.com by litimetal
on 24 Jun 2012 at 1:58
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
lemon err:
QProcess: Destroyed while process is still running.
ps:
29341 pts/2 00:00:26 cc1plus
1.题目较多时,能否不要在显示总分的同时显示每道题的得分
?
2.能否显示每道题运行的总时间和得分?
3.当双击某个选手某道题的得分时,能否直接跳到这道题的评
测记录中?
4.界面色彩单调了些。
Original issue reported on code.google.com by [email protected]
on 7 Feb 2013 at 8:35
每次一个一个添加数据很累,请问有快捷的方法吗?
Original issue reported on code.google.com by litimetal
on 11 Jul 2012 at 3:57
在工具--选项中 能否增加一个
选择比较方式的功能,这样省得每题题的再调整了。甚至选��
�文件输入还是系统输入都能选就好了!:)
Original issue reported on code.google.com by [email protected]
on 20 Nov 2012 at 3:17
能不能自定义选手文件夹位置,我想按照一些比赛的格式,例如:std/fib/fib.cpp,而不是默认的std/fib.cpp。
一键添加试题及数据,SPJ编写样例什么的
Original issue reported on code.google.com by [email protected]
on 2 Jun 2015 at 1:13
我卡在了Step 2的正則表達式的環節, 不知道怎麼加,
勞煩開發者指導一下, 形如 equation1.in, equation2.in, ...
這樣的輸入要怎麼填進Input files pattern裏面
Original issue reported on code.google.com by [email protected]
on 29 Nov 2013 at 11:01
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.