From 750c41a5202b7d4c9b84746e76e2efb85a5c1bc3 Mon Sep 17 00:00:00 2001 From: ngthanhtrung23 Date: Wed, 20 Jul 2022 01:28:51 +0800 Subject: [PATCH] Fix output operator --- Geometry/basic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geometry/basic.h b/Geometry/basic.h index 0c87075..79f08af 100644 --- a/Geometry/basic.h +++ b/Geometry/basic.h @@ -141,7 +141,7 @@ struct Line { return a*p.x + b*p.y + c; } }; -ostream& operator >> (ostream& cout, const Line& l) { +ostream& operator << (ostream& cout, const Line& l) { cout << l.a << "*x + " << l.b << "*y + " << l.c; return cout; }