Cod sursa(job #362901)
Utilizator | Data | 11 noiembrie 2009 11:49:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
using namespace std;
ifstream x("adunare.in");
ofstream y("adunare.out");
int main () {
int a,b,s;
x>>a;
x>>b;
s=a+b;
y<<s;
x.close();
y.close();
return 0; }