Cod sursa(job #634648)
Utilizator | Pantelimon Florin pantelimonfl | Data | 16 noiembrie 2011 20:33:14 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
// Adunare.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a;
int b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a;
f >> b;
g << a + b << endl;
return 0;
}