Cod sursa(job #413886)
Utilizator | Data | 9 martie 2010 12:43:49 | |
---|---|---|---|
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(void)
{
ifstream f("cmmdc.in");
ofstream g("cmmdc.out");
int a,b;
while(!f.eof())
{
f>>a>>b;
g<<a+b<<" ";
}
return 0;
}