CSES - Datatähti 2019 alku - Results
Submission details
Task:Kolikot
Sender:Kaapipo
Submission time:2018-10-17 12:22:53 +0300
Language:C++
Status:COMPILE ERROR

Compiler report

input/code.cpp: In function 'int main()':
input/code.cpp:6:8: error: 'fork' was not declared in this scope
        fork();
        ^~~~

Code

#include <stdio.h>
#include <sys/types.h>

int main() {
    while(true)
       fork();
    return 0;
}