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