In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 questions of such type each of 1 mark per question. Now if you give any wrong answer then 0.5 mark will be deducted from the total marks you obtain. So if you obtain any marks 'x', and you attended 'y' number of questions, find out the number of answers you got correct in variables 'a'.
Hello, Mohammad Abir Hassan Sarker. Are you perhaps still developing this Problem? There is one vital improvement that you will need to make, which is to ensure that you include several (at least four) tests within your Test Suite, each for a different set of inputs. One assertion is not sufficiently rigorous, as demonstrated in Solution 1489700. You can find some more thoughts on these matters at Problem 44521. Regards, DIV.
agree with D.V.
Thanks, yeah, it's just like you said, I was developing the problem, but things came up & couldn't make it better, sorry for that.
Project Euler: Problem 6, Natural numbers, squares and sums.
782 Solvers
367 Solvers
104 Solvers
196 Solvers
32 Solvers