Cod sursa(job #2642954)

Utilizator MarcGrecMarc Grec MarcGrec Data 17 august 2020 20:57:55
Problema BMatrix Scor 0
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.35 kb
#define MAX_NM 200

#include <fstream>
using namespace std;

ifstream fin("bmatrix.in");
ofstream fout("bmatrix.out");

int x = 1;

int main()
{
	int n, m;
	fin >> n >> m;
	
	for (int i = 1; i <= ((n * m * n) * 8); ++i)
	{
		x += x;
		
		if (x == 0)
		{
			x = 1;
		}
	}
	
	fout << x;
	
	fin.close();
	fout.close();
	return 0;
}