Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ hehehe
Function
hehehe
CPP/recursion/factorial.cpp:9–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
#define endl
'\n'
8
int sum=1;
9
void hehehe(int n)
10
{
11
if(n==0) return;
12
sum*=n;
13
n--;
14
hehehe(n);
15
}
16
int main(){
17
cin.tie(0)->sync_with_stdio(0);
18
int n;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected