Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Sandbox missing #15

Open
Open
@ritesh-nitw

Description

@ritesh-nitw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions