\[ y'(x)=\left (y(x)-e^x\right )^2+e^x \] ✓ Mathematica : cpu = 0.18281 (sec), leaf count = 17
DSolve[Derivative[1][y][x] == E^x + (-E^x + y[x])^2,y[x],x]
\[\left \{\left \{y(x)\to e^x+\frac {1}{-x+c_1}\right \}\right \}\] ✓ Maple : cpu = 0.142 (sec), leaf count = 14
dsolve(diff(y(x),x) = (y(x)-exp(x))^2+exp(x),y(x))
\[y \left (x \right ) = {\mathrm e}^{x}+\frac {1}{-x +c_{1}}\]