Hi omuprajit200,
you have been betting on a "Test cricket" match, which is the more traditional version of cricket that can indeed take as much as five days, unlike more recent versions, which have a limited amount of overs (e.g. 50 overs for One Day International cricket or 20 overs for Twenty20's), and which are therefore typically finished after a couple of hours.
Test cricket works like this: One team keeps batting until every batsman is out, or until the team has "declared", which means that they stopped playing because they decided that they have scored enough runs. This is considered an inning. After that, the next inning starts, which means that the other team gets to bat now, and after that, there will be two more innings. If there is no winner after five days, the game ends in a tie, no matter how big the score difference is.
I hope that answers your question. You can find some more info over here.