(2011x)^2-2010*2012x-1=(2011^2x+1)(x-1)=0,
——》p=1;
2010x^2-2011x+1=(2010x-1)(x-1)=0,
——》q=1/2010;
——》p-q=2009/2010.