Cod sursa(job #188134)
Utilizator | Data | 6 mai 2008 21:05:22 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream.h>
using namespace std;
long long int a,b,suma;
ifstream fin ("adunare.in");
ofstream gout ("adunare.out");
int main(){
fin >> a;
fin >> b;
suma = a + b;
gout << suma;
fin.close();
gout.close();
return 0;
}