Result

WA

Duration

493ms

Code [DL]

ssss["x:map(int,x.split())"mT"x:[x[3]-e for e in x]"mT]yggg0G1&1G2&2G0&*1G0&2G2&*-*0G2&1G0&2G1&*1G2&2G0&*-*0G0&1G1&2G2&*1G2&2G1&*-*

stdin

20 66 03
28 18 06
37 69 75
08 78 03

stdout

[-12, 12, 0][-20, 60, -3][-29, 9, -72]01691280

stderr

strace