Cod sursa(job #492536)
Utilizator | Data | 14 octombrie 2010 21:26:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.33 kb |
// Programare.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <fstream>
#include <iostream>
using namespace std;
void _tmain(int argc, _TCHAR* argv[])
{long a, b;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
ofstream g("adunare.out");
g<<a+b;
g.close();
//return 0;
}