Cod sursa(job #2025499)
Utilizator | Data | 22 septembrie 2017 19:24:23 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream f("data.in");
ofstream g("data.out");
int a,b,S=0;
f>>a>>b;
S=a+b;
g<<S;
return 0;
}