CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[Code Commandos] c/c++ 4 #72

Open Sahilll94 opened 8 months ago

Sahilll94 commented 8 months ago

b"\x16\xae\xfb\xecV\x1e#oc\xb7BaZS\x9a\xf8|\xa5\x052\x9b\xdd1af\xe6@\xf8\xc3\x84'\xb0U\x86\x94\x0e\\xb3c\xb7\xb7+5\x7f<;\xb0\xf5\x16\xd0\x12F#c\x91Uf\x94\xf8\xd9?\x88uqU,W\x94\x06\x90\x8d\x99\xd0z\xf0h\r\xd3\xf4r\xacg\xcaf\xa4\x87\xf6\x00\xa8\xc0t(]\xf0\xd8\xc1\xe4\xc2\xa1\xdd6>I\xa04R\x9aA\x19\x95S\xad\xccB\x96\xe3\x9d;\xeb\xa9W\xbcv\x8a\x81\n\xf0\xa5"

b'gAAAAABl9SEeNvOpe3z9Brr8vl-9J-q7xvcEN_NgdjLDY6K2-OlKoQs-7SiAGOR9_YiFmvJmxIfvK0VohTXJf0GApbz3MwaFe4zxRYIAHgkKhmfJJHFBJmzmIBFbdd6jRWqzrW4c3Ros7w5qOTbkNcZforbRIxsX_aknpfdHGK58CsDG1sy8JufpUyoq9uTtLtv05A6gMEKUfMwjj4Yn-1pEUONcngpFV3Rs-O-Tcnq0M5S5KPOMtHgrK-fZ2Pp85Dh_HUF44zpaLkyuz3UnGSv-08iw4MN1YdsEMg2mjXsvPqJwsdI_zzVHd2rKAxxYxpIJWygpyZmpKNQ043Q2FLN3Ma2zcSMBdS14k19wYH6TB4uA8n1SzYbWfm1xTYNp9ekkoxOB_jvR00vjrVfsHSwW5872VXuOeEbXE4Dic4rVtGQcD2Te7ddifJkNdWi63oEw522wBQRxEjikMm7COsY8gbsjtBkSIBkAvI_Hon22FhRzpSrVJ00='

bughunt-bot[bot] commented 8 months ago

Team Name: Code Commandos File Name: c/c++ 4 Line Number: [13] Bug Description: in line 13, the integer k directly to the character s[i], which doesn't correctly perform the Caesar cipher operation.

Solution: To fix it, we calculated the caeser cipher shift operation properly.

bughunt-bot[bot] commented 8 months ago

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