Coder Social home page Coder Social logo

project-lemon's People

Watchers

 avatar

project-lemon's Issues

Sandbox for unsafe program?

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

Archlinux x86_64编译失败

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

Suggestion

...为什么没有运行时参数的功能呢?还是我不知道?
比如 在终端 lemon ~/Desktop/3.8/test.cdf 
这样打开一次测试不是很好么...

Original issue reported on code.google.com by [email protected] on 8 Mar 2013 at 6:20

无法运行程序

系统:ubuntu14.04
我的比赛是放在home里的,没有在其他硬盘或者u盘

Original issue reported on code.google.com by [email protected] on 9 Oct 2014 at 2:14

fedora下安装

本人在fedora16下测试成功
1、安装 qt-devel
2、不要输入qmake, 而是qmake-qt4

编译过程很顺利

Original issue reported on code.google.com by litimetal on 24 Jun 2012 at 1:58

能不能添加几个功能?

1.题目较多时,能否不要在显示总分的同时显示每道题的得分
?
2.能否显示每道题运行的总时间和得分?
3.当双击某个选手某道题的得分时,能否直接跳到这道题的评
测记录中?
4.界面色彩单调了些。

Original issue reported on code.google.com by [email protected] on 7 Feb 2013 at 8:35

請問怎樣加入多組數據(add test cases)

我卡在了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

用git获取的源码编译错误

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

关于内存使用的问题

评测的时候无论是Windows还是Linux对内存使用的计算都不准确��
�. 有一个开了100+MB内存的程序, 测出来才20M左右

Original issue reported on code.google.com by [email protected] on 8 May 2012 at 11:30

增加新功能

1.把每个测试点的用时都标出来吧……不然就要把其它测试点
全部删掉了才能知道这个测试点到底用了多少时间了……
2.RE的时候最好能把exitcode也标出来(我是p党)

以上

Original issue reported on code.google.com by [email protected] on 12 Jul 2013 at 5:45

Debian下,程序使用内存接近限制时的BUG

最近在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

请问自定义校验器模式怎么用?

假如我的Special 
Judge程序是与数据同目录下的“judge.exe”,参数传递也是和你
在首页上说的一致,那我在自定义校验器模式下面的输入框��
�应该输入什么?

Original issue reported on code.google.com by [email protected] on 28 Oct 2012 at 2:33

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.