MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/recursion/2_to_power_n.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 return (2*func(n-1));
12}
13int main(){
14 cin.tie(0)->sync_with_stdio(0);
15 int n;cin>>n;
16 int ans;
17 cout<<func(n);
18
19
20 return 0;
21}

Callers

nothing calls this directly

Calls 1

funcFunction · 0.70

Tested by

no test coverage detected