2 test cases failed and remaining 4 are correct.
what corrections need to be done?
Deepack and primes
Hello @vipin.kumar,
Your code will fail for larger values of n.
Reason:
Your matrix is of size 5000000.
Also, the value of n can be 5000000 which is 5000000th prime number that your array cannot account for.
Solution:
Increase the size of array p[] to accommodate the values for large n.
Modification:
Hope, this would help.
Give a like if you are satisfied.
@S18ML0016 when i press submit code button no output is printed on screen just remains black while leaderboard and submission has granted me 100 marks,also there is no green tick coming after the problem, do you know anything about this?
Hello @vipin.kumar,
-
Refresh your page and try to submit again.
-
If you have unlocked either the test cases or the editor, then you would not get the green tick.
Let me know, if it still not works.
Hope, this would help.
still it is not working.
Submitted it a no. of times and haven’t download any test case or editorial.
also uploaded ss so you can confirm it.
Hey @vipin.kumar,
I have raised this issue to your mentor.
For now, please report the issue on [email protected]. The tech team will soon look into the matter.