+ 1
Prime numbers question.
THIS QUESTION IS FROM HACKERRANK CONTESTS “PROJECT EULER #249: PRIME SUBSETS SUMS”. AFTER RUNNING THE FOLLOWING CODE, I AM STILL GETTING ERRORS ALTHOUGH THE SAMPLE TEST CASE IS RUNNING CORRECTLY. PLEASE HELP. https://code.sololearn.com/cnF8Pjy3rE3g/?ref=app
6 Réponses
+ 1
Comment:
What is the mathematical importance of the question?
+ 1
Jkim Avatar this is the link for that question - https://www.hackerrank.com/contests/projecteuler/challenges/euler249/problem
0
Ashish it’s just an algorithmic question for practice .
0
Is there any way u can elaborate the challenge any further coz im trying to understand it buh i still cant 🙁
0
Pranjal Tripathi general advice would be run more test cases with your own data to figure out the logical error and biset the debugging with print statements. If it is a python issue. Please elaborate.
Change variable names to more appropriate to read code relatively quickly. and make better sense.
0
Thanks lemme try it