Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
AJ148-dev
snippets
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
snippets
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
c++ snippets
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
2 Commits
2 Commits
Folders and files
Name
Name
Last commit message
Last commit date
2D BIT.cpp
2D BIT.cpp
BIT.cpp
BIT.cpp
BridgeTree.cpp
BridgeTree.cpp
Divisors.cpp
Divisors.cpp
Hopcroft Karp.cpp
Hopcroft Karp.cpp
LCA.cpp
LCA.cpp
LazySeg.cpp
LazySeg.cpp
README.md
README.md
SPF.cpp
SPF.cpp
Sparse_Table.cpp
Sparse_Table.cpp
bipartite matching.cpp
bipartite matching.cpp
bool.cpp
bool.cpp
cht.cpp
cht.cpp
convex hull.cpp
convex hull.cpp
crt.cpp
crt.cpp
debug.cpp
debug.cpp
dinic.cpp
dinic.cpp
discrete log.cpp
discrete log.cpp
dsu rollback.cpp
dsu rollback.cpp
dsu.cpp
dsu.cpp
fft.cpp
fft.cpp
find_bridges.cpp
find_bridges.cpp
flow network.cpp
flow network.cpp
flow_simple.cpp
flow_simple.cpp
getRand.cpp
getRand.cpp
google.cpp
google.cpp
hld.cpp
hld.cpp
input_checker.cpp
input_checker.cpp
isprime.cpp
isprime.cpp
kmp_automaton.cpp
kmp_automaton.cpp
kmp_search.cpp
kmp_search.cpp
matrix.cpp
matrix.cpp
max_t.cpp
max_t.cpp
mcmf.cpp
mcmf.cpp
min_t.cpp
min_t.cpp
mo's algorithm.cpp
mo's algorithm.cpp
ncr.cpp
ncr.cpp
ntt.cpp
ntt.cpp
ordered_multiset.cpp
ordered_multiset.cpp
ordered_set.cpp
ordered_set.cpp
power.cpp
power.cpp
prefix_function.cpp
prefix_function.cpp
sack.cpp
sack.cpp
segtree.cpp
segtree.cpp
sieve.cpp
sieve.cpp
sqrtDecomposition.cpp
sqrtDecomposition.cpp
string hash.cpp
string hash.cpp
suffix_array.cpp
suffix_array.cpp
sum_t.cpp
sum_t.cpp
ternary.cpp
ternary.cpp
treedia.cpp
treedia.cpp
trie int.cpp
trie int.cpp
trie.cpp
trie.cpp
two sat.cpp
two sat.cpp
unordered_map.cpp
unordered_map.cpp
usaco.cpp
usaco.cpp
View all files
Repository files navigation
README
More
items
"# snippets"
About
c++ snippets
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.