shawakash / talgo

tAlgo: A Open version of Codeforces in Rust
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

while engine is judging it publish some results into the channel #19

Open shawakash opened 1 month ago

shawakash commented 1 month ago

Why not always keep 2 containers for each language on and pick up submissions to put it into a particular folder inside the container and we have a infinite process of that language running inside it which picks one file from that folder executes it checks if all the answers for a test case is write and prints the output along with status within a time bounded and memory bounded contidions whose output and stuatus is then transmitted to rust orchestrate process

shawakash commented 1 month ago

I was thinking of running a process of language inside a container which infinitely looks for same language file in the judge folder and executes it and matches the answers and outputs and then deletes it and transmites it back to the rust process