Cod sursa(job #812342)
Utilizator | Data | 13 noiembrie 2012 19:46:15 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
using namespace std;
int s;
int main()
{ ifstream in("intrare.txt");
ofstream out("iesire.txt");
int a,b;
in>>a>>b;
s=a+b;
out<<s;
}