getting segmentation fault .
ide: https://ide.codingblocks.com/s/224339
Game Theory - ONE
@Vishal123
Make these changes in line 6 and 7
v.insert(1);
for(int i=2 ; i*i<=m ; i++){
You are inserting m in divisors of m
So getting stuck in infinite loop
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.