Cod sursa(job #2355505)
Utilizator | Data | 26 februarie 2019 09:29:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.3 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;
for (int i = 1; i <= 1000000; ++i);
while(x--) z++;
while(y--) z++;
fout<<z;
return 0;
}