Cod sursa(job #1465861)
Utilizator | Data | 28 iulie 2015 09:43:35 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("a.in");
ofstream g("a.out");
int a,b,c;
int main()
{
f>>a>>b;
c=a+b;
g<<c;
f.close();
g.close();
return 0;
}