Cod sursa(job #2073183)
Utilizator | Data | 22 noiembrie 2017 19:41:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
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 a,b,s=0;
int main()
{
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
}