Cod sursa(job #2471048)
Utilizator | Data | 10 octombrie 2019 08:52:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
#include <iostream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a,b,sum;
f >> a>> b;
sum=a+b;
g <<sum;
}