Cod sursa(job #223837)
| Utilizator | Data | 29 noiembrie 2008 15:30:23 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream>
#include<algorithm>
#include<fstream>
using namespace std;
int main()
{
int a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a&b;
//cout<<"Rezultat="<<s<<endl;
g<<s;
f.close();
g.close();
}