Cod sursa(job #2716252)
Utilizator | Data | 4 martie 2021 21:39:25 | |
---|---|---|---|
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");
int a,b;
f>>a;
f>>b;
ofstream g("adunare.out");
int c=a+b;
g<<c;
return 0;
}