Cod sursa(job #818642)
| Utilizator | Data | 17 noiembrie 2012 19:28:48 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.42 kb |
// A+B.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <fstream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int a, b;
ifstream input;
input.open("adunare.in");
input>>a>>b;
input.close();
ofstream output;
output.open("adunare.out");
output<<a+b;
output.close();
system("pause");
return 0;
}
