Cod sursa(job #398215)
Utilizator | Data | 18 februarie 2010 11:21:21 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include<iostream>
#include <fstream.h>
using namespace std;
int main()
{
int A,B,Suma=0;
ifstream in("suma.in");
in>>A;
in>>B;
Suma=A+B;
in.close();
ofstream out("suma.out");
out<<Suma;
out.close();
}