Cod sursa(job #282417)
| Utilizator | Data | 17 martie 2009 17:13:52 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.29 kb |
#include <stdio.h>
#include <fstream>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a,b;
ifstream fin("adunare.in");
fin>>a;
fin>>b;
fin.close();
ofstream fout("adunare.out");
fout<<a+b<<endl;
fout.close();
getchar();
return 0;
}
