Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubham8550/competitive-programing-cpp
https://github.com/shubham8550/competitive-programing-cpp
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/shubham8550/competitive-programing-cpp
- Owner: shubham8550
- Created: 2022-06-20T06:24:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-11T05:57:17.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T21:08:25.012Z (over 1 year ago)
- Language: C++
- Size: 941 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Competitive-Programing-Cpp
- stoi (str , 0 ,2 ) for binary
- For number to binery string, ie where 32 is number of bits u want```
bitset<32>(n).to_string()
```- while(cin) cin gives false if theres nothing
- first challange link
> https://assessment.hackerearth.com/challenges/college/iiit-allahabad-test-draft-2-15/problems/
- for math /cp mathy problems
> https://projecteuler.net/
***
- For uppercase/lowercase altaration [From Monk_and_his_love_for_Primes](Monk_and_his_love_for_Primes.cpp)
```c++
return (c <= 'Z' ? (c - 'A') + 'a' : (c - 'a') + 'A');```
---
## Bookmarks
### To improve Speed(Time complexity)
- [Pre Computation](pre_computation.cpp)
- [Hashing](Hashing.cpp)
- [Prefix Sum 1D](Prefix-Sum.cpp)
- [prefix Sum 2D](Prefix-sum-2D.cpp)