Cod sursa(job #2647797)
Utilizator | Data | 6 septembrie 2020 15:04:33 | |
---|---|---|---|
Problema | Nunta | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.34 kb |
#include <bits/stdc++.h>
using namespace std;
ifstream ci("nunta.in");
ofstream cou("nunta.out");
int n;
void rez(){
int k,p,sm=0,nrgr=2,k1=1;
if(n%2==0){
k=n-1;
while(k--){
k1*=2;
}
cou<<k1;
}else{
}
}
int main()
{
ci>>n;
rez();
return 0;
}