Cod sursa(job #219151)
Utilizator | Data | 5 noiembrie 2008 21:04:23 | |
---|---|---|---|
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")
f>>a;
f>>b;
fout<<a+b<<endl;
f.close;
system("PAUSE");
return EXIT_SUCCESS;
}