+ 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

4th Aug 2020, 4:59 PM
Pranjal Tripathi
Pranjal Tripathi - avatar
6 odpowiedzi
+ 1
Comment: What is the mathematical importance of the question?
5th Aug 2020, 8:58 AM
Ashish
Ashish - avatar
6th Aug 2020, 6:03 AM
Pranjal Tripathi
Pranjal Tripathi - avatar
0
Ashish it’s just an algorithmic question for practice .
5th Aug 2020, 11:22 AM
Pranjal Tripathi
Pranjal Tripathi - avatar
0
Is there any way u can elaborate the challenge any further coz im trying to understand it buh i still cant 🙁
5th Aug 2020, 11:44 AM
Jkim Avatar
Jkim Avatar - avatar
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.
5th Aug 2020, 2:50 PM
Ashish
Ashish - avatar
0
Thanks lemme try it
6th Aug 2020, 7:22 AM
Jkim Avatar
Jkim Avatar - avatar