Cod sursa(job #1040413)
| Utilizator | Data | 24 noiembrie 2013 15:06:24 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a,b,c;
f>>a>>b;
c=a+b;
g<<c;
f.close();
g.close();
}