Coder Social home page Coder Social logo

riverstore / hustoj Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9.42 MB

Automatically exported from code.google.com/p/hustoj

Java 0.20% C++ 2.00% Makefile 0.66% C 8.90% Shell 0.24% Lex 1.35% Groff 0.30% HTML 8.09% PHP 23.09% ApacheConf 0.01% CSS 4.64% JavaScript 50.22% ColdFusion 0.19% Perl 0.12%

hustoj's Introduction

Hi there 👋

riverstore's github stats

most used ig

Experience & Skills

  • 🔭 I’m currently working on nowhere
  • 🌱 I’m currently learning nothing
  • 👯 I’m looking to collaborate on nothing
  • 🤔 I’m looking for help with nothing
  • 💬 Ask me about nothing
  • 📫 How to reach me: nowhere
  • 😄 Pronouns: nothing
  • ⚡ Fun fact: just suffering from depression

hustoj's People

Contributors

fatonmehmedi avatar homebodys avatar sempr avatar zhblue avatar

Stargazers

 avatar

Watchers

 avatar

hustoj's Issues

support mono c#

according to wiki i add perl and php language but when i wanted to add mono c# 
the runtime error occured.
i have attatched judged_client.cc , okcalls.h and the runtime error to this 
message.
please help me to solve the error.

Original issue reported on code.google.com by hamidrezaabdi on 5 Mar 2011 at 8:59

Attachments:

Python support

I hope to support python language at http://judge.lavida.us

How can I make a sandbox(maybe routine in judge_client.cc) for python?

Original issue reported on code.google.com by method4libe on 6 Feb 2011 at 12:38

Incorrect time checking issue

Some TLE submission's elapsed time checked incorrectly.

TL of the problem(http://acm.ajou.ac.kr/JudgeOnline/problem.php?id=1238) is 
10sec but runid 16751 judged as TLE but reported elapsed time seems to be 
incorrect(see following line)

16751   dynamical   1238    Time Limit Exceed   940 kb  1284 ms C++ 1269 B  2010-09-01 
18:01:36

I attached FPS format of the problem and source code of runid 16751. 

Plz check it :)

Original issue reported on code.google.com by method4libe on 26 Sep 2010 at 5:43

Attachments:

New Judge Core, 1001 problem, right code but returns PE

What steps will reproduce the problem?
1. New Judge Core
2. problem 1001
3. right code but returns PE

What is the expected output? What do you see instead?
AC, PE

What version of the product are you using? On what operating system?
486-490

Please provide any additional information below.

http://acm.sie.edu.cn/new/status.php

Original issue reported on code.google.com by [email protected] on 6 Nov 2010 at 2:46

can't use import function.

it shows "/home/judge/data/ is not in your open_basedir setting of php.ini, you 
can't use import function."
however i've changed open_basedir 
=/home/judge/data:/var/www/html/JudgeOnline:/tmp and restarted httpd service.

Original issue reported on code.google.com by [email protected] on 14 Mar 2011 at 8:27

CPU limit of judge_client is too low / unnecessary?

By default, the time limit of the process judge_client is 5 CPU seconds.
When judging, if the *total* runtime of the user's program 
(/home/judge/run0/Main) exceeds 5 CPU seconds, then judge_client is killed 
and leaving the program unjudged.

Original issue reported on code.google.com by [email protected] on 6 Jun 2010 at 11:24

TLE issues

current judge_client judged a TLE solution as MLE.

When I submit the following code, judgement of the code was MLE, not TLE.

int main() { while(1); }

Original issue reported on code.google.com by method4libe on 26 Sep 2010 at 5:32

Intel C++ support...

I'll add Intel C++ compiler support to SuPearOJ in a few days, for parallel 
(multi-core) computing, OpenMP, TBB, Intel Math Library, etc.

Btw, you really have done a good job!

Original issue reported on code.google.com by [email protected] on 22 Nov 2010 at 11:45

The Last "\n

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Nov 2010 at 12:34

SPJ will always AC in r708

The bug is in judge_client.cc's void judge_solution(int & ACflg, int & 
usedtime, int time_lmt, int isspj,
                int p_id, char * infile, char * outfile, char * userfile, int & PEflg,
                int lang, char * work_dir, int & topmemory, int mem_lmt) 

where comp_res = execute_cmd(buf, "%s/data/%d/spj %s %s %s", oj_home,
                                        p_id, infile, outfile, userfile);
     should be 
                 comp_res = execute_cmd("%s/data/%d/spj %s %s %s", oj_home,
                                        p_id, infile, outfile, userfile);



Original issue reported on code.google.com by [email protected] on 13 Jan 2011 at 8:00

导入文件时没反映

错误提示:
PHP Warning:  DOMDocument::load(): I/O warning : failed to load external entity 
"/tmp/phpSBkReo" in /var/www/JudgeOnline/admin/problem_import_xml.php on line 
80, referer: 

80行是 $xmlDoc->load ( $tempfile );

似乎是Load文件时出错。

Original issue reported on code.google.com by [email protected] on 6 Dec 2010 at 1:08

Can't add Contest

When i add a contest, it return error as bellow:
Unknown column 'langmask' in 'field list'

Original issue reported on code.google.com by [email protected] on 19 May 2010 at 6:22

如何添加题目和数据

一、如何添加题目?
想添加一条a+b的题,input、output的几个数据文件都有了,题目
提交后,如何添加测评数
据。
二、FPS的格式是怎样的,哪有相关学习资料?
百度找不到关于FPS的资料。



Original issue reported on code.google.com by [email protected] on 5 May 2010 at 9:53

Java MLE Problem in 64bit

Currently I'm moving the http://acm.ajou.ac.kr/JudgeOnline to 
http://judge.lavida.us/. Thus I'm testing your system in 64bit OS.

Unfortunately judgement for Java submission judged as 'MLE'. 
However when I run the judge_client manually judge_client works well.

Here's debug msg of 'judged':

<<1done!>>
<<=sid=1011===clientid=0==>>

sim=0
time: 3 mem: 640
status=0
init_call_counter:3
pid=29070 judging /home/judge/data/1000/test.in
# java.lang.OutOfMemoryError: requested 2 bytes for Parse SyncKnobs. Out of 
swap space?
mv: target `/home/judge/run0/log/' is not a directory
mv: target `/home/judge/run0/log/' is not a directory
JVM need more Memory or Threads!Judging solution 1012
<<=sid=1012===clientid=0==>>

<<1done!>>
sim=0
time: 3 mem: 640
status=0
init_call_counter:3
pid=29120 judging /home/judge/data/1000/test.in
# java.lang.OutOfMemoryError: requested 31 bytes for char in 
/build/buildd/openjdk-6-6b18-1.8.2/build/openjdk/hotspot/src/share/vm/runtime/pe
rfData.cpp. Out of swap space?
mv: target `/home/judge/run0/log/' is not a directory
mv: target `/home/judge/run0/log/' is not a directory
JVM need more Memory or Threads!Judging solution 1013
<<1done!>>
<<=sid=1013===clientid=0==>>

sim=0
time: 3 mem: 640
status=0
init_call_counter:3
pid=29172 judging /home/judge/data/1000/test.in
# java.lang.OutOfMemoryError: requested 2904 bytes for CHeapObj-new. Out of 
swap space?
mv: target `/home/judge/run0/log/' is not a directory
mv: target `/home/judge/run0/log/' is not a directory
JVM need more Memory or Threads!

Original issue reported on code.google.com by method4libe on 28 Nov 2010 at 8:32

Time precision issue

I submit same source code ( attaced C++ file ) and expect the two 
submission show same execution time, but in submission report page  shows 
different execution time for these submission.

Please check the FPS and source code.

Original issue reported on code.google.com by method4libe on 2 May 2010 at 7:50

Attachments:

Add Contest

我新添加一个题目到一个未开始的比赛中,但是题目却在Probl
ems页面中出现了。正
常情况下,比赛未开始Problems页面中不应该出现题目才对的。
为什么?

Original issue reported on code.google.com by [email protected] on 29 May 2010 at 1:37

Java RTE

Java RuntimeError for correct Java code.
But it works well with C++ and Pascal code.

System Version: Ubuntu 9.10
Java Version: Sun Jdk 1.6.0_20

The code is newly downloaded and compiled.
When I run the command:
-----------------------------------------------------------------
$sudo judged debug
<<=sid=22931===clientid=0==>>

time: 4 mem: 943
judging 
starting 
[ERROR] A Not allowed system call: runid:22931 callid:221

sig=9
MLE:256jvm:256result: 10
Judging solution 22933
-----------------------------------------------------------------

Below is the problem and data I test.



Original issue reported on code.google.com by [email protected] on 4 Aug 2010 at 1:34

Attachments:

IE6 blank

What steps will reproduce the problem?
1. apache enable deflate mod
2. ie6 with no pacth


What is the expected output? What do you see instead?

blank page ,refresh to show up.


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 12 Apr 2011 at 5:28

Administrator

Like other Online Judge systems, I suggest that Administrator can see source 
code and compile information without database access. That means in 
status.php, administrator can see links for source browse or compile error 
information.

Do you have a plan about this?

Original issue reported on code.google.com by method4libe on 21 Mar 2010 at 3:56

judge_client.cc problem!

amir@amir-laptop:~/Desktop/install/hustoj-read-only/core/judge_client$ make
g++ -c -I/usr/local/mysql/include/mysql judge_client.cc
In file included from judge_client.cc:27:
okcalls.h:4: error: ‘SYS_ugetrlimit’ was not declared in this scope
okcalls.h:4: error: ‘SYS_mmap2’ was not declared in this scope
okcalls.h:4: error: ‘SYS_stat64’ was not declared in this scope
In file included from judge_client.cc:27:
okcalls.h:4: error: ‘SYS_sigprocmask’ was not declared in this scope
okcalls.h:4: error: ‘SYS_fstat64’ was not declared in this scope
okcalls.h:4: error: ‘SYS_getuid32’ was not declared in this scope
okcalls.h:4: error: ‘SYS_getgid32’ was not declared in this scope
okcalls.h:4: error: ‘SYS_geteuid32’ was not declared in this scope
okcalls.h:4: error: ‘SYS_getegid32’ was not declared in this scope
okcalls.h:7: error: ‘SYS_mmap2’ was not declared in this scope
okcalls.h:7: error: ‘SYS_fstat64’ was not declared in this scope
judge_client.cc: In function ‘int main(int, char**)’:
judge_client.cc:721: error: ‘struct user_regs_struct’ has no member named 
‘orig_eax’
judge_client.cc:723: error: ‘struct user_regs_struct’ has no member named 
‘orig_eax’
judge_client.cc:726: error: ‘struct user_regs_struct’ has no member named 
‘orig_eax’
make: *** [all] Error 1





Ubuntu 10.10 64 bit

Original issue reported on code.google.com by [email protected] on 26 Oct 2010 at 10:22

2 issue in HUSTOJ

I found some strange behavior in HUSTOJ.

1. I installed HUSTOJ in three different OS( 64bit-CentOS 5, ubuntu9.04 in 
andlinux, ubuntu 9.10 ). Except ubuntu 9.04 in andlinux, Java solution 
doesn't work well( It occurs Out of Memory or error in VM Init. stage )

2. Some MLE or TLE solution judged to RTE( sig = 9 )

Original issue reported on code.google.com by method4libe on 4 Apr 2010 at 7:11

  • Merged into: #9

解决问题列表

http://acm.zjgsu.edu.cn/JudgeOnline/userinfo.php?user=cswchf
http://acm.hust.edu.cn/thx/userinfo.php?user=lshmouse

为什么第一个的所有问题不能分行显示,第二个可以分行显��
�.

Original issue reported on code.google.com by [email protected] on 14 Oct 2010 at 8:41

SIM works strange...

In http://judge.lavida.us/status.php?&problem_id=1000&top=1014

Results of the SIM checking looks strange like follows:

*Accepted-32658(-559939584%)    
*Accepted-32751(1858076672%)    

Original issue reported on code.google.com by method4libe on 28 Nov 2010 at 5:50

IE6 blank

What steps will reproduce the problem?
1. apache enable deflate mod
2. ie6 with no pacth


What is the expected output? What do you see instead?

blank page ,refresh to show up.


Solve by disable deflate in apache

Original issue reported on code.google.com by [email protected] on 12 Apr 2011 at 5:28

FCKEditor doesn't work in Google Chrome

I can't see the input windows(boxes) which constructed by FCKEditor in Google 
Chrome.

I attached the screen-shot of "Add Problem pages" and error message in google 
chrome inspector.

fckeditor.html:68Uncaught SyntaxError: Invalid preparser data for function 
fckeditor.html:125Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:164Uncaught ReferenceError: FCKConfig_LoadPageConfig is not 
defined
fckeditor.html:68Uncaught SyntaxError: Invalid preparser data for function 
fckeditor.html:125Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:164Uncaught ReferenceError: FCKConfig_LoadPageConfig is not 
defined
fckeditor.html:68Uncaught SyntaxError: Invalid preparser data for function 
fckeditor.html:125Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:164Uncaught ReferenceError: FCKConfig_LoadPageConfig is not 
defined
fckeditor.html:68Uncaught SyntaxError: Invalid preparser data for function 
fckeditor.html:125Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:164Uncaught ReferenceError: FCKConfig_LoadPageConfig is not 
defined
fckeditor.html:176Uncaught ReferenceError: FCKTools is not defined
fckeditor.html:195Uncaught ReferenceError: FCK_ContextMenu_Init is not defined
fckeditor.html:203Uncaught ReferenceError: FCKLang is not defined
fckeditor.html:270Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:176Uncaught ReferenceError: FCKTools is not defined
fckeditor.html:195Uncaught ReferenceError: FCK_ContextMenu_Init is not defined
fckeditor.html:203Uncaught ReferenceError: FCKLang is not defined
fckeditor.html:270Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:176Uncaught ReferenceError: FCKTools is not defined
fckeditor.html:195Uncaught ReferenceError: FCK_ContextMenu_Init is not defined
fckeditor.html:203Uncaught ReferenceError: FCKLang is not defined
fckeditor.html:270Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:176Uncaught ReferenceError: FCKTools is not defined
fckeditor.html:195Uncaught ReferenceError: FCK_ContextMenu_Init is not defined
fckeditor.html:203Uncaught ReferenceError: FCKLang is not defined
fckeditor.html:270Uncaught ReferenceError: FCKBrowserInfo is not defined
fckeditor.html:210Uncaught ReferenceError: InitializeAPI is not defined
fckeditor.html:210Uncaught ReferenceError: InitializeAPI is not defined
fckeditor.html:210Uncaught ReferenceError: InitializeAPI is not defined
fckeditor.html:210Uncaught ReferenceError: InitializeAPI is not defined

Original issue reported on code.google.com by method4libe on 28 Nov 2010 at 7:26

Attachments:

Wrong AC judge

1. When we have no JAVA environment installed , whatever code I submit using 
"JAVA" . It turns out to be AC .

2. Use the JAVA code below to submit to any problem . It also turns out to be 
AC . 

import  java.util.*;  
import  java.io.*;  

public  class  Main  
{  
        public  static  void  main(String  args[])  
        {  
                try  
                {                          
                        Runtime  rt  =  Runtime.getRuntime();  
                        Process  proc  =  rt.exec("ls");  
                        int  exitVal  =  proc.waitFor();  
                        System.out.println("0\n");  
                }  catch  (Throwable  t){  
                        //t.printStackTrace();  
                }  
        }  
}

Original issue reported on code.google.com by [email protected] on 27 Jun 2010 at 2:24

spj issue

Some submission for problem using spj occurs OLE because larger than 10x 
original submission.

In the problem, I think input size can be larger than 10x because various 
answer can exist.

Thus I suggest judging using spj should skip the file size check routine.

Original issue reported on code.google.com by method4libe on 5 Jul 2010 at 7:49

java runtime error!

java runtime error!
environment:
   ubuntu 10.10
   openjdk 1.6.0_18
debug:
   Judging solution 3349
<<1done!>>
<<=sid=3349===clientid=0==>>

time: 3 mem: 266
pid=2656 judging /home/judge/data/1000/data2.in
[ERROR] A Not allowed system call: runid:3349 callid:221

status=9
Unknown signal 0
WTERMSIG=9
Killed
result: 10
mv: 目标 “/home/judge/run0/log/” 不是目录
mv: 目标 “/home/judge/run0/log/” 不是目录

Original issue reported on code.google.com by [email protected] on 29 Oct 2010 at 6:21

  • Merged into: #18

为什么一直 pending?

我按照 http://code.google.com/p/hustoj/wiki/README 
进行安装,然后一直 pending。

请指点一下,谢谢。

Original issue reported on code.google.com by [email protected] on 13 Oct 2010 at 1:50

MLE issue

Some MLE submission doesn't judged well. That means status of the submission 
doesn't changed.

It can resolve that run judge_client manually.

Original issue reported on code.google.com by method4libe on 3 May 2010 at 3:50

  • Merged into: #11

Java RTE

Run time error( like invalid index access ) for Java solution judged as Wrong 
Answer.

Original issue reported on code.google.com by method4libe on 11 Apr 2010 at 6:57

Solution stuck at compiling

Hello developers, thanks for the great open source site.
I have installed ( on two computers ) the site on ubuntu on 64 bit version, and 
some of the solution ( 1 of 5 ) that the users submit stuck at compiling stage.


Original issue reported on code.google.com by [email protected] on 18 Jun 2011 at 9:41

translate

How do I translate hustoj to persian language?


Original issue reported on code.google.com by hamidrezaabdi on 16 Dec 2010 at 9:59

Patch for /trunk/web/vcode.php

这个验证码的代码显示效果比较好,而且,可以根据用户需��
�,选择字母还是数字,
但是,需要再传一个64K的字体文件http://218.75.208.59:8084/JudgeOnli
ne/Vera.ttf,相关代码第35行。
字母部分,我已经删除了部分长得相似的字母

Original issue reported on code.google.com by [email protected] on 13 Jul 2011 at 2:44

Attachments:

spj以及news

试用了一下hustoj,很不错,不知能不能再改进一下:
1、现在的special judge好像是手动的,能否做成自动的。
2、数据库中有news表,index.php也有代码读news表,能否增加news�
��管理功能。

Original issue reported on code.google.com by [email protected] on 17 Oct 2010 at 11:24

Multiple test case process for fps

FPS is considered only test.in and test.out. unfortunately, in my judge 
system use define file name for blind test cases. I suggest FPS must consider 
other filenames.

Original issue reported on code.google.com by method4libe on 11 Apr 2010 at 8:02

Some suggestions

For cheating detecting, have a look at this paper, however I think it won't 
make a differnce because for some typical problems, almost everyone's solutions 
are the same despite the difference of variables...

And I also suggest viewing this project: http://code.google.com/p/testlib/
from Russia, we can write a GUI test-cases auto-generator in the future...

Original issue reported on code.google.com by [email protected] on 18 Nov 2010 at 6:04

Attachments:

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.