Skip to main content
Commonmark migration
Source Link

#Pyth, 34 30 bytes

Pyth, 34 30 bytes

KCcQ2c.asm*@hKd-@eKhd@eKtdU3 2

Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

#Pyth, 34 30 bytes

KCcQ2c.asm*@hKd-@eKhd@eKtdU3 2

Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

Pyth, 34 30 bytes

KCcQ2c.asm*@hKd-@eKhd@eKtdU3 2

Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

deleted 12 characters in body
Source Link

#Pyth, 3434 30 bytes

KCcQ2c.asm*@hKd-@.<eK1d@.>eK1dU3@eKhd@eKtdU3 2

Try it online.Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

#Pyth, 34 bytes

KCcQ2c.asm*@hKd-@.<eK1d@.>eK1dU3 2

Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

#Pyth, 34 30 bytes

KCcQ2c.asm*@hKd-@eKhd@eKtdU3 2

Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

added 83 characters in body
Source Link

#Pyth, 34 bytes

KCcQ2c.asm*@hKd-@.<eK1d@.>eK1dU3 2

Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

#Pyth, 34 bytes

KCcQ2c.asm*@hKd-@.<eK1d@.>eK1dU3 2

Try it online.

#Pyth, 34 bytes

KCcQ2c.asm*@hKd-@.<eK1d@.>eK1dU3 2

Try it online.

Works by calculating abs(a*(d-f) + c*(f-b) + e*(b-d))/2 from input a,b,c,d,e,f.

Source Link
Loading