Cod sursa(job #1663024)
| Utilizator | Data | 25 martie 2016 14:01:58 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.41 kb |
// test_dragos1.cpp : Defines the entry point for the console application.
//
#include "stdio.h"
#include "iostream"
#include "fstream"
#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;
//fout<<a<<b;
system("pause");
return 0;
}