2012x+2013y=2013 (1)
2013x+2012y=2012 (2)
(1)+(2)
4025x+4025y=4025
x+y=1 (3)
(2)-(1)
x-y=-1 (4)
(3)+(4)
2x=0
所以
x=0
y=1-x=1