CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[BUGGER KING] python 4 #145

Open SFARHAN23 opened 6 months ago

SFARHAN23 commented 6 months ago

b'[\xb8\xf5\xc6\x96\xf7\xb8k_p$\xc3\xb6\x84\x8c\x05\x1c\xd5\xf8\xe6\x8b|\x1aX\x00F\n\x84\xad\xbc\xe1\x87\xbf~\xa1\x9b%^c\xb7\xfa\xb4\x8f\xb8XVa@L\xd8\xf2\xa2E\x10?\xce\xa6i\xd3v\xd0~\x8b^\xb4\xb0\xf0\x0e"\xc7pq\xa0&\xbfy%\x93OU\xea\xc2\xb3\x0e\x86#\t$m\x06\xe1\x87~\xba\x88\x8c\xa8\x99\x12\xa6\x8ac\xf1\xe2)4|0\x84J\n\xf4Qf\x1e\xe1\x12[\x07 r\xac j\x14t5@'

b'gAAAAABl9Se2Y2PE0WIJGOjhNjD4BEnP82uBXs6eFHGOm4to05whuE8RWpp9hYdUt1lGRYHL8dCNEOEp5TmqtQb6g5iC6534IFhEUwgE94ZbDfOXlnErZ9r4cKin3azfCOKXEUqL9FwkvfT_YCp_4cX4Sgm3_Yn4-ONUi807awF8MovGwoc5BqcUDD42gpplrGBdymNaQ1qOrwRa-Mfyio9l6_LDXUE0HIGfOxWvqHChXegNJ_bD_BURfFoCUAPV8JlLF4eSEoORAHHcsKhR_D27N-B2uAohwQiEPt9Vy7u3PQJUWpg4W_tOHJC4ZNS_0CxaXIGpxRxS7rS4IbmvYJIX4SGmAXBOaNUhgzgguPgfzZTF9IxtifkwvEP2ay_YbBr3XCUd7L8dmyMApgoi-33shZn-HiE0p66zu6zhbXDsYS_Ngoz9_Y2uSk2fIVOeTwKU8KgxtFRWzfa_B3jiPURdA8TutGiUC3UwjX2FdmIqSsehPWYE_XFqZgoV6GPDos97gPD3Mukh1fQiogMsrXoWNnQEfA=='

bughunt-bot[bot] commented 6 months ago

Team Name: BUGGER KING File Name: python 4 Line Number: [9, 10, 11, 12] Bug Description: if index starts from zero arr count of [i-1] goes to the back line 12 count arr[i] will be out of range at one point Solution: changed index to start from 1 to k+1 and count of ans[count[arr[i]]] to ans[count[arr[i]]-1]

bughunt-bot[bot] commented 6 months ago

Bug Hunt Evaluation: Answer: ((9, 12),) Correctness: 1.0/2 Points: 50/100