Cod sursa(job #381681)
| Utilizator | Data | 11 ianuarie 2010 12:49:36 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream>
#include<fstream>
using namespace std;
int a,b,s;
int main ()
{
ifstream f("adunare.in");
f >> a >> b;
f.close();
ofstream g("adunare.out");
if ((a+b)%2==0)
g<<0;
g.close();
return 0;
}
