Cod sursa(job #2923678)
Utilizator | Data | 17 septembrie 2022 19:40:53 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
f >> a;
f >> b;
s=a+b;
g << s;
}