From c4bf45da2de1f76882d8b14b16ac8fc3d3e9605f Mon Sep 17 00:00:00 2001 From: shubhamdevpura14 <39962025+shubhamdevpura14@users.noreply.github.com> Date: Thu, 30 Apr 2020 15:52:24 +0530 Subject: [PATCH] Create 17EGICS110_ Assignment 7_Q3.cpp --- 17EGICS110_ Assignment 7_Q3.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 17EGICS110_ Assignment 7_Q3.cpp diff --git a/17EGICS110_ Assignment 7_Q3.cpp b/17EGICS110_ Assignment 7_Q3.cpp new file mode 100644 index 0000000..e7ad0ca --- /dev/null +++ b/17EGICS110_ Assignment 7_Q3.cpp @@ -0,0 +1,21 @@ +#include + +using namespace std; + +int main(){ +int n,i; +cin>>n; +int a[n]; +mapm; +for (i=0;i>a[i]; + m[a[i]]++; +} +int o; +o=m.size(); +if (o==n) + cout<<"false"<