If you are willing to share room with 3 or 5 other strangers and sleep on bunkbed, (may need to bring your own sheets), also share bathroom, then hostel would save you money.
But you can also find B&B with shared bathroom and still have your own room, that is not much more than hostel.