Aas Salamu Aalaikum All
& Eid Mubarak to everyone.
We are going to implement a 'web based programming contest control system' with PHP . Now we need to write the judging script. The programs that are written in any language will be judged by our web based judging system and will give the result, yes or no, by checking the outputs of the programs. So definitely we need to run the compilers ( VC++ or gcc or jdk etc) in the web. We have no idea how to do it in PHP. The platform will be either windows or Linux according to users choice.
Here I would like to add a few description of a programming judging system in this regard. There are several web sites for that like
These sites offer online judging. They have some problems and any time any user can not use the site to judge their particular source code.
Sometimes these sites host real time programming contest for 5/6 hrs for the users.
There is also an offline software, solely for real time programming contest, pc^2. It is implemented in java. Even in ICPC or world final, the judges use pc^2 software. But it is server based, not web based. The contestant must be sit together in one intranet connection using one server for the contest.
So our project is to merge the features of the above two judges. It will be web based; any user could get judgment of some predefined problems and also could arrange a real time contest of his own using this site (no web
administrator will be needed to arrange it). And it will be a module which can be use as a component of another site also.
So this is some detail about our project.
Now we need to write the judging script in PHP that will enable different compilers run in the web and will give the status of the given source code like "Accepted", "Wrong answer", "Output Format Error", "Time limit exceed", "Compile Error", "Run Time Error", "Memory limit exceed" etc.
As we are novice in PHP we need some suggestions on what to read or what to learn to start this part of the project.
Allah grant me the serenity To accept the problems that I cannot solve
The persistence to solve the problems that I can
And the wisdom to know the difference Tahsin Sayeeda
Student Dept of CSE, IIUC
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around