Since other users showed that it can't be constant. Let's check the next simplest type: linear.
So assume
$$a(t) = mt+b$$
We know that $$v(t)-v(0)=\int_0^ta(t)\,\mathrm dt$$
and
$$x(t)-x(0)=\int_0^t v(t)\,\mathrm dt$$
Starting with the first equation, we know that
$$0-50=\left[\frac{1}{2}mt^2+bt\right]_0^{0.5}$$
which simplifies to $$\frac{m}{8}+\frac{b}{2}=-50$$
Next we know that
$$v(t)=v(0)+\int_0^ta(t)\,\mathrm dt=v(0)+\left[\frac{1}{2}mt^2+bt\right]_0^t=50+\frac{1}{2}mt^2+bt$$
$$x(0.5)-x(0)=100=\int_0^{0.5}50+\frac{1}{2}mt^2+bt\,\mathrm dt$$
which simplifies to
$$\frac{m}{48}+\frac{b}{8}=75$$
The intersection of these lines is at $m=-8400,b=2000$
So $$\boxed{a(t)=\left(-8400\frac{\mathrm{m}}{\mathrm{s}^3}\right)t+2000\frac{\mathrm{m}}{\mathrm{s}^2}}$$
Let's check our math.
Assume $a(t)=-8400t+2000$.
$$v(t)=\int_0^ta(t)\,\mathrm dt=\int_0^t-8400t+2000\,\mathrm dt=-4200t^2+2000t+c$$
Well $v(0)=50$ so $c=50$
$$v(t)=-4200t^2+2000t+50$$
We also know that $v(0.5)=0$
$$0=v(0.5)=-4200(0.5)^2+2000(0.5)+50=-1050+1000+50=0$$
Good.
Now $$x(t)=\int_0^tv(t)\,\mathrm dt=\int_0^t-4200t^2+2000t+50\,\mathrm dt=-1400t^3+1000t^2+50t+c$$
Again, we know $x(0)=0$ so $c=0$
$$x(t) = -1400t^3+1000t^2+50t$$
Last check: $$x(0.5)=100=-1400(0.5)^3+1000(0.5)^2+50(0.5)=-175+250+25=100$$
Check!
We're correct, now!
Since you just changed the problem, the new equation you get using this method is
$$a(t)=240t-160$$