Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ main
Function
main
CSES/Intro/TowerH.cc:19–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
int main(){
20
ios_base::sync_with_stdio(false),cin.tie(nullptr);
21
22
int n; cin >> n;
23
cout << solve(n) << endl;
24
for (auto i : ans) {
25
cout << i.first <<
" "
<< i.second << endl;
26
}
27
cout << endl;
28
return 0;
29
}
30
31
Callers
nothing calls this directly
Calls
1
solve
Function · 0.70
Tested by
no test coverage detected