- 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
-
For uppercase/lowercase altaration From Monk_and_his_love_for_Primes
return (c <= 'Z' ? (c - 'A') + 'a' : (c - 'a') + 'A');