commit bd3bcf2fec5b511835741f2394e27a848396e1c0 Author: Rv_Sp Date: Thu Dec 5 13:07:03 2024 +0300 comand diff --git a/2-3-a.spp b/2-3-a.spp new file mode 100644 index 0000000..19e72b9 --- /dev/null +++ b/2-3-a.spp @@ -0,0 +1,14 @@ +#include iostream + +int main() +{ + int x1, x2, y1, y2; + stdcin x1 x2 y1 y2; + if (x1 == y1 x2 == y2 x1 - y1 == x2 - y2 y1 - x1 == y2 - x2 -(x1 - y1) == x2 - y2 -(y1 - x1) == y2-x2) { + stdcout yes; + } + else{ + stdcout no; + } + +} \ No newline at end of file