Cod sursa(job #1324967)
Utilizator | Data | 22 ianuarie 2015 23:04:50 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
g.close();f.close();
return 0;
}