CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[Code Commandos] c/c++ 8 #123

Open Sahilll94 opened 6 months ago

Sahilll94 commented 6 months ago

b'%\x93\xa16\x0fjv[MKR|&\x08E/\x9f\x9d\xba\x94\xbc2\xd6\x8fgq6+e\x97\xa7f!\x7f\xa2Ah\x19_D\xbd\xaa\xe7-\xca\x16\t3\xbde\xd9\xe7\xa0\xab#\xa4\xb5(\xee\x94\xbc\lx\xd0\x01\x9c*\x1d\t\x19>\x12{\xd9\x8a\x9e\x82\xae\x91\xe8\xea\xa4bU=I\xcc\x0f@?\xd0\x9cf\xec\xd8\xbf\xd2V\xff\x89\xa9\xca4\xc3C\x92]\xa6w\x0e\x089y\xbc\xf82\x0b%M\x1a<\xafv\xf9 \x1b:'

b'gAAAAABl9SWizDklG6I6QCfqORwQ_t5U1Ndib3kcpTacnX_M-pPqAJ8GHHHbkknrFHvKbTBGRq17iLY3B0KwtNUHKqJ5I2JywUjP-Mbeg0iKYyHh0WWPVkkL0CsZk5CVJ-ERkNruff-2P3AVeWNFoVSAc6CjB43QsrTBC3AH6p-1EsBnDm6qGchErkehcaj1fGXDD7zdKxN8KkKp1i8IN_VkcgEUq_DhJ1HfNeP1UtPV9JPjmJJ2HggOWgF12e5svLJ8h7o8NGEaOPYFqYVvlh1gRF6k3MHnQq4_4kHvbORFtUZO9y_kJNnjeIDDad5aRwJ0L2N0uhetPvcAHs40gOmGmsUrBqF3g6ZwHCxHvInDUfuvGpaEnDO8AI_lFVvfXgp3olWS0YzAVfiKPSEUzroQzW29QOPWfQbsxwQ6WeDNnJyyNJl04RtGrx3dUqxBFmJ9I6xqN22oRdBCnZWLt_jgbVTWqMGB-ks8nPxkXqg7tdwKrzqBprJbdVi2PnzVTTalWAss4pkloPxgG5Bg62O4kfn302bE3P2ECsyJS-ZkGgBncKQqxCE='

bughunt-bot[bot] commented 6 months ago

Team Name: Code Commandos File Name: c/c++ 8 Line Number: [5] Bug Description: The error in the code is in the computeAverage function where the size of the array x is incorrectly determined and there is a type mismatch in the loop condition. Solution: The computeAverage function takes the array x and its size N directly as arguments.

bughunt-bot[bot] commented 6 months ago

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