Cod sursa(job #2355500)
Utilizator | Data | 26 februarie 2019 09:27:35 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream fin("adunare.in");
ofstream fout("adunare.out");
short int x, y, z;
fin>>x>>y;
while(--x) z++;
while(--y) z++;
fout<<z;
return 0;
}