how long will the thc stay in my system if i smoked a small amount?

last night i was really drunk at a party and ended up smoking about 0.4 grams of weed with a friend,how long will it stay in my system if i'm taking detox pills,drinking about a gallon of water a day and sweating everyday
 
Top