need solution for project

I’m currently working on my college project. My project is to provide local platform like codechef to host coding compitition type event(like online judge system) in college.So i’m finding solution for compile and compare output of problem and show result.Can anyone have idea about it?

try sphere online judge api

sphere-engine.com

//