Cod sursa(job #827915)
Utilizator | Data | 2 decembrie 2012 20:05:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream a("adunare.in");
ofstream b("adunare.out");
int x, y;
a >> x;
a >> y;
b << x+y;
return 0;
}