CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[Code Commandos] c/c++ 3 #134

Open Sahilll94 opened 7 months ago

Sahilll94 commented 7 months ago

b"J\x80\x85\xbe\xd1\xc9\x19\xf9\xbd\xde\xfaO\xe5\x8c\x1a)\xac\x85n\x04\xa61^\x01\xd1\xd2\xed\xb2\x04v\xae\xdb\x17\x9f\xbe\x117r/\xd2\xe4\xc0\x15\x0b\xe2\xa9:\xab3\xc7\xa2\xf1\xd0Gi?\x1d\xd6K\x84+_-5\xb62\xbbx\x9d\x8a\xcb\x94\xc0\xb6\xe7\xb6\xbe8v\x13$e\xa6.\xe9\r\x84\xe8\x82i*\x01\x8a\xeeT\x9fZqB\x8b\xa3\x1bs wH\xc8t\x16\x84'\xdd\x1e\xda/\xf4\xacgi{'g\xb8\xce\xf3SM\x07"

b'gAAAAABl9ScNNlISXesQhEdOTBx4YmwHe9o_hdKb6T8mHL3Mk_chKLZ8BWSgGhgN390a2yqrKlaMZwDE4uDa79t7bJZ0GLfkHxpgtrCkrXjcdSIs7nBNzyEABgNbCVySQ_6RNwRQbxvTZIbSQjeCVo4OmE4UsDQnTe-JFx9YbVc2ekKk0Vs0tnPJ2NKGdsyrOm4CYQY7QvPezR8vsRnL7tgfDYkb3d9cCgGok7qq9fjXl43Kc1snjwI_kKZW3ifduZBwia9DwRYWJzhRWPs6K_Z1Q9PV1SLz7VS4a-FtgzEvCpHvTIRBOqWQ0BEs6xO8W6WSQh9WGYkDZpxGJZcton6h-G08BZRXBiTDn5f0YqYi1mMJF95XBtV1L13q1IqVCM3QqMXgJ3qwUf4t8xq0R-lIA21Mp-g9Rux72hviFmNJDHfofm2sp4qjP-6cP1Enrv0dibd-E0GCao6s7Fopry9FdV-ippQTwo4rLY0V77wWFzOCZs7gEms='

bughunt-bot[bot] commented 7 months ago

Team Name: Code Commandos File Name: c/c++ 3 Line Number: [14] Bug Description: In the second loop, the variable r is initialized to 1 instead of being assigned the value=1. This leads to wrong product(answer) Solution: Initialize the variable r to 1 by assigning the value 1 to it.

bughunt-bot[bot] commented 7 months ago

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