Thursday, 31.10.2024, 03:37
ACM Server
Welcome Guest | RSS
Main Problem with the LocalTest plugin - Forum Registration Login
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Problem with the LocalTest plugin
Red_RiverDate: Thursday, 25.12.2008, 01:12 | Message # 1
Private
Group: Пользователи
Messages: 3
Reputation: 1
Status: Offline
Hi,
I have problem with the LocalTest plug-in.
When I submitted solution, I always got Submission Error ( I used the sample problem A+B to test )
I don't know why because I think I have modified the configuration files correctly.
Did I miss something else ?
Thanks.

Here are the 2 files :

language.dscr
[1]
Title = Free Pascal
SourceFileName = solution.pas
CompilationCommand = fpc.exe >compile.txt solution.pas
ExecutableFileName = solution.exe
ExecutionCommand = solution.exe
CompilationPaths = C:\FPC\2.0.4\bin\i386-win32;C:\FPC\2.0.4\units

problem.dscr
TimeLimit = 2000
MemoryLimit = 65536
OutputLimit = 1024
StatementDirectory = Statement
IndexFile = index.html
AdditionFiles =
TestsDirectory = Tests
InputFileMask = %s.in
OutputFileMask = %s.out
AnswerFileMask = %s.ans
Checker = checker.exe %s.in %s.out %s.ans

[1]
Header = A+B
TimeLimit = 2000
MemoryLimit = 65536
Directory = A+B
StatementDirectory = Statement
IndexFile = index.html
AdditionFiles =
TestsDirectory = Tests
InputFileMask = %s.in
OutputFileMask = %s.out
AnswerFileMask = %s.ans
Tests = 1|2|3|4|5|6|7|8|9|10|11
Checker = checker.exe %s.in %s.out %s.ans

Message edited by Red_River - Thursday, 25.12.2008, 01:13
 
FlyDate: Thursday, 25.12.2008, 21:30 | Message # 2
Admin
Group: Администраторы
Messages: 16
Reputation: 1
Status: Offline
Quote
Unable to include process into the job.
Error #5: Access is denied.

This problem may appear when the job doesn't have enough access rights. Now default access rights is used. In the XP its include the demanded access rights by default, but Vista does not. It is just my guess. smile

P.S. LocalTest doesn't have any protection. So the use of this plugin may harm you computer. Use it on your own risk. happy

 
Red_RiverDate: Friday, 26.12.2008, 01:10 | Message # 3
Private
Group: Пользователи
Messages: 3
Reputation: 1
Status: Offline
Thanks for your reply.
I switched to XP and the plugin worked.
That's ok, I only use the LocalTest on my PC and it's pretty old (I bought it 6 years ago) so if it got corrupted then it would be the time that damage it tongue

By the way, I suggest you to swap OutputFileMask and AnswerFileMask ( %s.ans = %s.out ) in the file problem.dscr.
I saw in the source code of the plugin you redirected the output to Answer file.
This is only the style of the judge but I think almost all people use *.ans files as the correct answers when judging other programs.

Message edited by Red_River - Friday, 26.12.2008, 01:43
 
FlyDate: Friday, 26.12.2008, 12:51 | Message # 4
Admin
Group: Администраторы
Messages: 16
Reputation: 1
Status: Offline
Yes. I have this idea. But when I worked on LocalTest plugin I had thought in another way. And only after it had been finished I had seen the difference. smile
 
  • Page 1 of 1
  • 1
Search:

Copyright Victor Vinogradov © 2008-2024 Free website builderuCoz