Comments (11)
copy the A+B answer from faq,write into a file called Main.c
cd /home/judge/run0
sim.sh Main.c 1000
after that look into file "sim" at /home/judge/run0/sim
see what is print in it
if the big 559939584 like things found
check if the SIM is working well
sim -p Main.c Main.c
should report two 100% likeness
if sim is reporting error message , we'll need to port SIM to 64bits manually
Original comment by [email protected]
on 29 Nov 2010 at 3:08
from hustoj.
root@lavidaus:/home/judge/run0# sim.sh Main.cc 1000
(No Output)
root@lavidaus:/home/judge/run0# sim_cc -p Main.cc Main.cc
File Main.cc: 28 tokens
File Main.cc: 28 tokens
Total: 56 tokens
Main.cc consists for 100 % of Main.cc material
Main.cc consists for 100 % of Main.cc material
root@lavidaus:/home/judge/run0# sim_c -p Main.cc Main.cc
File Main.cc: 28 tokens
File Main.cc: 28 tokens
Total: 56 tokens
Original comment by method4libe
on 29 Nov 2010 at 3:28
from hustoj.
try
modify
http://code.google.com/p/hustoj/source/browse/trunk/core/judge_client/judge_clie
nt.cc#956
to
fscanf(pf,"%ld%ld",&sim,&sim_s_id);
Original comment by [email protected]
on 29 Nov 2010 at 4:22
from hustoj.
I found what's the problem.
Parameter settings in wiki page for AntiCheatEnable was incorrect. It works
well when I changed.
I suggest some optinion Anti Cheat Enabler.
1. Sometimes a person submit same or similar code several times but it can't be
judged as cheat. However Anti-cheat system in hustoj doesn't consider it.
2. I think wrong-answer source must check not only accepted solution. I'm doing
Teaching Assistant for Data Structure course of Ajou University in this
semester, some people submit WA solutions do cheating.
Original comment by method4libe
on 29 Nov 2010 at 5:15
from hustoj.
And I found sim table doesn't update in rejudging. If row in a solution is in
the table then 'insertion query' doesn't affected to tables.
Original comment by method4libe
on 29 Nov 2010 at 5:17
from hustoj.
try the latest web, admin/rejudge.php
Original comment by [email protected]
on 29 Nov 2010 at 5:30
from hustoj.
'admin/rejudge.php' works well, but that problem caused by when I judge using
'judge_client'.
Original comment by method4libe
on 29 Nov 2010 at 6:18
from hustoj.
check r606
Original comment by [email protected]
on 29 Nov 2010 at 7:24
from hustoj.
OK. It works well.
1. Sometimes a person submit same or similar code several times but it can't be
judged as cheat. However Anti-cheat system in hustoj doesn't consider it.
2. I think wrong-answer source must check not only accepted solution. I'm doing
Teaching Assistant for Data Structure course of Ajou University in this
semester, some people submit WA solutions do cheating.
What do you think about that, newsclan?
Original comment by method4libe
on 30 Nov 2010 at 8:13
from hustoj.
1.The status to students will warn them about similar code no matter who's code
is similar with,even themselves.It's true but only considering to prevent the
system from overload.The status show to
TEACHER(source_browser&&contest_creator) will give a interface of setting SIM
level and query. In this situation, copy of self code will not be reported, and
will give a links to both source code and show the account who's code is copied
from.
2.SIM works too sensitive in those case the correct code is very short like
A+B, I don't want to push students too hard. I found copy others code and
modify it can be a better way than doing nothing for those students who's not
capable of finish the code by themselves. That's why I prefer to by pass WA
codes.
any way, it's open-source you can customize your system by tweaking the code.
http://code.google.com/p/hustoj/source/browse/trunk/core/judge_client/judge_clie
nt.cc#1061
remove the second condition expression after &&
Original comment by [email protected]
on 30 Nov 2010 at 3:10
from hustoj.
Original comment by [email protected]
on 16 Jul 2011 at 3:06
- Changed state: Done
from hustoj.
Related Issues (20)
- special judge fixes HOT 2
- solving compile errors in judge_client.cc using ubuntu(x64)
- HUSTOJ不能架设到普通虚拟主机上? HOT 4
- SAE的Linux评测机没有办法评测 HOT 1
- PE bug HOT 2
- abnormal code leads to endless "Compiling" HOT 3
- [ERROR] A Not allowed system call: runid:1004 callid:45 HOT 5
- 这份部署在SAE上的材料我跟着做之后却没有效果 HOT 1
- core/judge_client/okcalls.h 最近一次 commit 误删了 free basic 的 system calls
- C/C++ syscall 89 in unreleased Ubuntu 14.04 LTS x64 HOT 5
- 如何修改评测机的返回情况 HOT 1
- 提交题目出错 HOT 2
- How to solve Runtime Error:[ERROR] A Not allowed system call: runid:1011 callid:59 HOT 1
- 一直处于Compling状态,求解 HOT 1
- 对个人信息页面屏蔽搜索引擎
- How to install PHP Language for hustoj
- c++11
- amazing runtime error bug
- 一直在Running & Judging 运行并评判 HOT 2
- OJ无法运行java程序,报RE, 求解答 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hustoj.