CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[Runtime error] c/c++ 1 #284

Open Ashwinth04 opened 6 months ago

Ashwinth04 commented 6 months ago

b'\x171\xe1\xfe\xfaK\xb5W\x14\x14\x90C>rA/\x05\xeb\xa7i\x84>\xec)\xde\x8dy\xf2\\\x7fOa\x84x\x1e\xec\x1d\x8bu\x18\x95@\xf1\xa2\x1cC\x01(\xec\xc5Q\xef\x113\xd9K\xf2\xf3\xe7r\xbf\xeb\xdc\xae)\xaf\xef\xe49o\x8c\xef\x84?\x81\xa2\xb7"\x19\xe4\xdb\xb6\xd0\xc3\x15\x91Y\x821\xfe\x9cp]\xad+\xcdTz~\x9d\xad\x8f\x0b\x7f\xaa\x0f\xcd\xd7\x99\xd4\xf3\xf6\xdc\xb8##\x8fOt\x9f\x1a\xb6\xdec#~'

b'gAAAAABl9TMwAPCYk_Yt0_aiGsiVUwd1HTMpQUatsEqus1mRMpO-xrI6JbyMLo1_ywwfbWf9SDY81drMnEu6DFKr79RDJ81XW04SDUs40SdJE18yt4GFxOjqT9qWsQ9f7meDhsv0BjoCGTWXDsou6i_4wY1Oc1edIW3NW2GYzsGUfS4W913iYJduIM_8grPtSLBs4JnrxDTzQKIffkWUrAE9_do-FjvTDG8wrtVmfTXz2O0RPHiYGqWxRFcqnjC2sEYCUdiN8u7iObDIM6fWGXX0Z4bnst0sgCaSIkpb8Lh6aTDuBpHaYotDN7rudb-A3LBV2TO6i95u3sAaMngnkEJZ87aaYEBCsP00Xqw6gh_W8CowMpv-BO_hGlQwcyzdpuu7kr_NI7Y6ayCjdM2wrqUtxHPiKrMo9F9eY7oiq_YldFKGgXqWyYSwRoCETGZfN3eMQ0F3iIuA'

bughunt-bot[bot] commented 6 months ago

Team Name: Runtime error File Name: c/c++ 1 Line Number: [17] Bug Description: In line number 17, it shouldnt be r = nums[i]. That will only take the element at the suffix,but we need the suffix product. Solution: change r = nums[i] to r *= nums[i]

bughunt-bot[bot] commented 6 months ago

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