Skip to content

Forking process should throw error #28

@Anon-136

Description

@Anon-136

Since multiprocess is not allowed in competitive programming, it should throw an error if submit the following code.

#include <unistd.h>
using namespace std;
int main() {
    while (true) fork();
    return 0;
}
  • If we use "isolate", it will keep running and get a T instead of an X.
  • If we doesn't use it, the grader process will be down because it doesn't handle the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions