Cod sursa(job #1663029)
| Utilizator | Data | 25 martie 2016 14:18:07 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.45 kb |
// test1.cpp : Defines the entry point for the console application.
//
//#include "stdafx.h"
#include "stdio.h"
#include "fstream"
#include "iostream"
#include "string"
using namespace std;
int main()
{
int a=0,b;
ifstream myfile;
myfile.open("adunare.in");
myfile >> a >> b;
myfile.close();
ofstream outfile;
outfile.open("adunare.out");
outfile << a+b;
outfile.close();
//fout<<a<<b;
//system("pause");
return 0;
}
