Cod sursa(job #3155480)

Utilizator TheAndreiEnache Andrei Alexandru TheAndrei Data 8 octombrie 2023 14:49:59
Problema Patrate2 Scor 10
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.28 kb
#include <iostream>
#include <fstream>
#include <math.h>

using namespace std;

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

unsigned long long pw=1, fact=1;

int main()
{
    int n;
    fin>>n;

    pw=pow(2, n*n);
    fout<<n*pw;

    return 0;
}