Cod sursa(job #1758103)
Utilizator | Data | 16 septembrie 2016 16:06:51 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream fin("adunare.in");
ofstream out("adunare.out");
int a,b,s;
fin>>a>>b;
fin.close();
s=a+b;
out<<s;
out.close();
return 0;
}