Cod sursa(job #2217419)
| Utilizator | Data | 30 iunie 2018 13:15:27 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.29 kb |
#include <iostream>
#include <vector>
#include <fstream>
#include <thread>
using namespace std;
ifstream in("adunare.in");
ofstream out("adunare.out");
int a,b;
void adun(){
out<<a+b;
}
int main()
{
int a,b;
in>>a>>b;
thread t(adun);
t.join();
return 0;
}
