Cod sursa(job #816525)
Utilizator | Data | 17 noiembrie 2012 12:49:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream>
using namespace std;
int main(){
ifstream fi ("adunare.in");
ofstream fo ("adunare.out");
int a,b,x;
fi >> a >> b;
x = a + b;
fo << x;
return 0;
}