CSClubIIITDM-org / bughunt-2024

Repo for BugHunt vashisht2024
0 stars 35 forks source link

[rmk] c/c++ 1 #23

Open Dhulasiraman opened 6 months ago

Dhulasiraman commented 6 months ago

b'l\x1c0=OuEC\xc5\xd3\xc5sH\xa6}@$oF\xeb\x95yP\xad\x87\xfc\x14:\xcf\xc0<L\xf0\x1a\xcd\xfe\x959t\xc3\xa6\x06\x1a\x8f4\xd9\xea\xe4\x8d\x15\x0f\xd5\xe0E\x03<\x85ax\x9f\x1c\xaf\xd6\xe8\xc8\x12\xa3\xb1\xc9\xbch\xe2\xb8j\xe4W\xc6(M\xf8g\x9aL=zg^\x1c\xe7\xf8\x83n\x9e\xb3@\xdb\xb2\xb2\xc6u\xe7\xe1\x91=\xe3\xf6o\xfb\x82\xcdC\xffc\xacB\x1a\xf7z\xec:\xb80W\x06\x14\xe4\xd23'

b'gAAAAABl9RzD3yM8x2MovTYjRkmrhiz-uYgstDaOp2oyJSSDvPkH_OC2aWoF0c2ZKIBJBJVlzxJn0BPvxeNGgmGfnFwxGzErioM2rkNUqVtVY_LEjJZu-FQleRTC2L33y-o7634MG0zMR3gEg6A_Fs8kzlYuigSDZkEBUx2KtEUQT9QFUCibvAbalPnxJoz0a8tavT-ge5Q-bXrmW81gEhqF-ofr12hZPjdcvPN5Hhl-R5UIAfMg6It2tsNirW2NJeDYVqNnGkrmGKnlTGssnCPU6uYLi1fNu2bGDL3DgqMVn5P8DMPb1oGDJo4hS7-DVWIO0s2pXvCo2mA7ZA07-M4K7hPzq6B3lQZpSa5JrokNCFQS-bbHWP81g4fwbTGZPE0kGXMbznebrI0L1YNnhbMx9z3oyIstXvQ9nNCAn2Xk9sop_hCQlgrACc0RrneJg-soEeyFycV95Xmveo8sqFDBVfKJfRzFEv88Hqns9V1Z6xXvw4wv0hFTJkIoo5Azm6O7Cj8qwd0viIMO01f5nuL1Z1zsISmwMCZ3295yylAT61q7lpN8XHlv8XLT_fdjIfaqT51PIOEwHArtcWvbpj8JR7A7_rzgpkDS7yv3pAH3DCXSoHL3kqRKGZoOltd2krTpSZsLsTLCPKbQO-n7ghTP51KBLDwSl1wVaRPNzDF47PoDVfJ23N2jfPuL4VZ7BuGoEILXFJzK8nFD9UhZRTLtSoH2P4LOY0sXukNUvat-52zT5gaIFup5tp0GgqpElQ-xjIw99bujicTx1MvLGgOUikQLCOeBhzFN3Ra4-6UYX9uwa-0pd60='

bughunt-bot[bot] commented 6 months ago

Team Name: rmk File Name: c/c++ 1 Line Number: [15] Bug Description: #while Solution: int i = n, j = t; while(i > 0 && j > 0) { if(table[i-1][j]){ // This means current item was not used to make up the sum i--; } else { // This means current item was used to make up the sum ans.push_back(a[i-1]); // Since array is 0-indexed j -= a[i-1]; // Reduce the target by the value of the included item i--; // Move to the previous item } }

bughunt-bot[bot] commented 6 months ago

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