From b44bc9b367519f7a5ed88e1367ddab2766a676f3 Mon Sep 17 00:00:00 2001 From: Poornapragna Mathh <54894632+poornapragna877@users.noreply.github.com> Date: Thu, 1 Oct 2020 09:13:05 +0530 Subject: [PATCH] Update 520.cxx Updated 520.cxx made handy with macro --- 520.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/520.cxx b/520.cxx index 949cfed..0039cdd 100644 --- a/520.cxx +++ b/520.cxx @@ -24,6 +24,7 @@ #include using namespace std; +#define fo(x,n) for(int x = 0; x < n; x++) int main() { int n,i; @@ -31,7 +32,7 @@ int main() string s; cin >> s; set a; - for(i=0;i