Firstly, I must say your online judge project is amazing. I learned the concept. But when I ran your project, it crashed my system.
When I ran the following code:
#include<iostream>
using namespace std;
int main() {
int test,i;
while(test--) { //Didn't take the value of testcase.so infinite loop
cin >> i;
i = i * (i + 1) / 2;
cout << i;
}
return 0;
}
The stage folder for the above running occupied 12.4 GB of file. Since the above code filled the out.txt file with i values.
So, how can I overcome it?
Also, how can I use sandbox with your project? I have no idea at all about integrating sandbox to your online judge.
Plus,What if I run a fork infinite time on your online judge.The Computer that runs compiler server will definitely crash due to infinite number of process created.So, try to overcome this issue too.
Firstly, I must say your online judge project is amazing. I learned the concept. But when I ran your project, it crashed my system.
When I ran the following code:
The stage folder for the above running occupied 12.4 GB of file. Since the above code filled the
out.txt
file withi
values.So, how can I overcome it?
Also, how can I use sandbox with your project? I have no idea at all about integrating sandbox to your online judge.
Plus,What if I run a fork infinite time on your online judge.The Computer that runs compiler server will definitely crash due to infinite number of process created.So, try to overcome this issue too.