Cod sursa(job #1503517)
| Utilizator | Data | 16 octombrie 2015 13:26:38 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a,b,s;
ifstream f("intrare.txt");
ofstream g("iesire.txt");
f>>a>>b;
s=a+b;
g<<s;
return 0;
}
