Cod sursa(job #2693057)
Utilizator | Data | 4 ianuarie 2021 17:42:32 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.32 kb |
#include <iostream>
#include <unistd.h>
#include <fstream>
using namespace std;
int main() {
int pid = fork();
if (pid == 0)
{
sleep(5);
}
else
{
ifstream fin("adunare.in");
ifstream fout("adunare.out");
//system("telnet 84.117.24.129 9000");
}
return 0;
}