Getting segmentation fault :-
T primes problem
@aiman.mumtaz you can make an array of size atmost 10^8, greater than this will give you run error and here you are making array of size 10^11.
I used bitset to overcome the space issue but Iβm getting this error https://ide.codingblocks.com/s/220562
Hey @aiman.mumtaz
You only need to find prime numbers upto 10^6
T primes are squares of these primes
So use sieve upto 10^6
Then for each element in array calculate square root
If root is integer check if it is prime
If yes print βYesβ
Okay Got it. Btw saw your Real Life Proojects video. Great Going!!