Cod sursa(job #463598)
Utilizator | Data | 16 iunie 2010 16:13:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int A,B;
f>>A>>B;
g<<A+B;
f.close();
g.close();
}