Cod sursa(job #532631)
Utilizator | Data | 12 februarie 2011 08:37:08 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
long a,b,s;
ifstream r ("adunare.in");
ofstream f ("adunare.out");
int main (void)
{
r>>a>>b;
s=a+b;
f<<s<<endl;
return 0;
}