Cod sursa(job #558323)
Utilizator | Data | 17 martie 2011 10:56:17 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include<fstream>
using namespace std;
int main (void)
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a , b ;
long int s;
f>>a;
f>>b;
s=0;
s=a+b;
g<<s;
f.close();
g.close();
}