CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[Lil techies] c/c++ 3 #319

Open Shalu42 opened 8 months ago

Shalu42 commented 8 months ago

b'1}k;0\xf8\n}\xdal4\xe1\x82\xbe\x95 !\t\x90\x00\x8ae\x88H\xab\xb7E8\x1b(\t;\x19\x0f\xa5\x8c\xcb\x12\x8d\t\x84\x1c$ 8dI#\rj\x9d\x19\x01\x9b+\x14>\x89\t,\xd8\xf1>\xd8\x1cs!\x02\xe6\x8c\xa1f\x01\xf6\x8e\x92\xad\xd48X\xa9p\xfeY\xf1\xeb\xd3\xd9\xda\x92B\x88zVIQ\xbe@\x18\\xdf\x8b\xc8\xae\xd2\x99v\xe7\xec\xecm\x925Ay\x1f/\x07\x10g\xf0\xc3F\xc3\xf5\xd9'

b'gAAAAABl9TiKabGHg1eV_lAGDaWwzMaJ02pYiKBWKRELO58CxLNFlvnA3QjUD3q3FM4G7lHu0V5pvoZO9GMx9Su_6gQ8u4AIfKhRPg8PVHO9s-ljnKzeQrLwvI5L_f7EPSx4xllUPRkvCCSjFDMfU9T9RKKKQHo_CNW79kuc_UOH32MPrVT102di82pieJspqDOZiRpB460IK6J94po1uJHz_P-3Bpij-2IRePWiN48c83TeKdK43BUkXbN8nVVYusju2S76TmO9BSdVPkmXcbWsd7TJP1rSMFcdVfE5ISuN61-0kOXLZ2tP18SisePRXSC4gc8xy2ZjFzRz5f2UhnroNkBnhgTnPpAA60hfqjZ1P-K4lAGmWVrWfA2hFXz2piERdhWI6VJl0d8uBHVor1roU6JaheyQDAABcxol09X9hWymx7q--6P1D8mT6PzO6f8QMbaKSU7akoihkLZ9deDsxdlhweV6VNgHx0FLA6RXBB7VDVOh61tKAXJDrlX1zR7rmEdKzp'

bughunt-bot[bot] commented 8 months ago

Team Name: Lil techies File Name: c/c++ 3 Line Number: [15] Bug Description: Correct the loop starting index and add a line to update r before multiplication Solution: for(int i = nums.size() - 2; i >= 0; i--) { // Corrected loop starting index r *= nums[i + 1]; // Update r before multiplication

bughunt-bot[bot] commented 8 months ago

Bug Hunt Evaluation: Answer: ((17,),) Correctness: 0/1 Points: 0/100