Cod sursa(job #702111)
Utilizator | Data | 1 martie 2012 19:40:31 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
long s;
int a,b;
ifstream in(adunare.out);
ofstream out(adunare.in);
in>>a;
in>>b;
s=a+b;
out<<s;
return 0;
}