I solved a question in an exam and I would like to know why do you think I didn't get 100% of this question (they gave me 18/20 points). The question is to state and prove the Eisenstein criterion. I solved in the following manner:
Eisenstein criterion
Let $p(X)=a_nX^n+a_{n-1}X^{n-1}+\ldots+a_0\in \mathbb Z[X]$. If there exist a prime number $p$ such that $p\nmid a_n,p\mid a_i$ for $i=0,\ldots n-1$ and $p^2\nmid a_0$, then $p(X)$ is irreducible in $\mathbb{Z}[X]$.
Proof
Suppose $p(X)$ holds the conditions of the theorem and $p(X)=g(X)h(X)$ with $g(X),h(X)\in \mathbb Z[X], g(X)=b_mX^m+\ldots+b_0$ and $h(X)=c_tX^t+\ldots+c_0$ and $m+t=n$. Since $p\nmid a_n$ and $p|a_i$ for $i=0,1,\ldots,n-1$, there exist $a'\in \mathbb Z_p$ such that $p(X)=a'X^n$ in $\mathbb Z_p[X]$. Since $p(X)=g(X)h(X)$, it follows $g(X)=b'X^m$ and $h(X)=c'X^t$ in $\mathbb Z_p[X]$. Therefore $p^2|b_0c_0$, contradiction because $p^2\nmid a_0$.