Cod sursa(job #2000465)
Utilizator | Data | 13 iulie 2017 18:42:07 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <fstream>
#include <stdlib.h>
#include <unistd.h>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
ofstream x("C:\\Users\\abc.log");
int main()
{
int a, b;
f >> a >> b;
g << a + b;
x << "abc";
return 0;
}