Cod sursa(job #1257320)
Utilizator | Data | 7 noiembrie 2014 16:41:57 | |
---|---|---|---|
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("adunare.in")
ofstream g("adunare.out")
int main()
{
int a, b, s;
f>>a>>b;
s= a + b;
g<<s;
f.close();
g.close();
}