Cod sursa(job #219153)
Utilizator | Data | 5 noiembrie 2008 21:05:40 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.36 kb |
#include <cstdlib>
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char *argv[])
{
int a,b;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
fout<<a+b<<endl;
f.close;
system("PAUSE");
return EXIT_SUCCESS;
}