Cod sursa(job #29288)
Utilizator | Data | 8 martie 2007 20:59:01 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.33 kb |
// Suma.cpp : Defines the entry point for the console application.
//
//#include "stdafx.h"
#include<fstream.h>
//using namespace std;
//int _tmain(int argc, _TCHAR* argv[])
int main()
{
int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
a+=b;
g<<a;
f.close();
g.close();
return 0;
}