This is a problem in my Qualifying Exam.
"Suppose $f:[0,1]\to \mathbb{R}$ is in $L^1$ (Lebesgue measure) and for every measurable $A\subset [0,1]$ with $m(A)=\frac 1{\pi}$ we have $\int_A f dm=0$. Prove that $f=0$ a.e."
I could not do it back then. I did my research and we have a similar problem here Integral vanishes on all intervals implies the function is a.e. zero. But the same method cannot be applied.
Anyway, I cannot think of anything except for let $B$ be a set of measure $1/4$ and try to make the integral 0. However, I forgot that this is on the real line, so there is no monotonicity here. Anyone can help?