From ae43f71d91ea7d7548c8ee0b69f167b0037beba0 Mon Sep 17 00:00:00 2001 From: Hardik Aggarwal Date: Mon, 1 Apr 2019 23:57:57 +0530 Subject: [PATCH 1/6] changed README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 75ccc6c..949f16a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Your entry should maintain alphabetic order and it should be in the format: ### Entries + Hardik Aggarwal[hardik-kgp](http://githun.com/hardik-kgp) ## Task 2 After all of you send a Pull Request, I'll add my name to 'Entries'. From 95ce87ccd52f65884fbbf3636fd3d396290010f4 Mon Sep 17 00:00:00 2001 From: Hardik Aggarwal Date: Tue, 2 Apr 2019 00:05:51 +0530 Subject: [PATCH 2/6] changed README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 949f16a..2415892 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Your entry should maintain alphabetic order and it should be in the format: ### Entries - Hardik Aggarwal[hardik-kgp](http://githun.com/hardik-kgp) + Hardik Aggarwal[hardik-kgp](http://githun.com/hardik-kgp) ## Task 2 After all of you send a Pull Request, I'll add my name to 'Entries'. From f3d9e37a939fb45ad1c880c8c2468d7cfab29333 Mon Sep 17 00:00:00 2001 From: Hardik Aggarwal Date: Tue, 2 Apr 2019 00:13:32 +0530 Subject: [PATCH 3/6] added a dummy code --- dummy.cpp | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 dummy.cpp diff --git a/dummy.cpp b/dummy.cpp new file mode 100644 index 0000000..2c57386 --- /dev/null +++ b/dummy.cpp @@ -0,0 +1,76 @@ +/************************Code by Hardik Aggarwal!!!!***********************************/ + +#include +using namespace std; + +#define IOS ios_base::sync_with_stdio(false);cin.tie(NULL); + +#define ff first +#define ss second +#define pb push_back +#define pf push_front +#define mp make_pair +#define pu push +#define pp pop_back +#define in insert +#define ld long double +#define endl '\n' +#define debug cout << "Hold right there sparky.....\n"; +#define forn(low,high,i) for(i=low;i= low;i--) +#define trace(x) cerr << #x << ": " << x << " " << endl; + +typedef long long int ll; + +typedef vector vi; +typedef vector vl; +typedef vector vvi; +typedef vector vvl; +typedef pair pii; +typedef pair pll; +typedef vector vpii; +typedef vector vpll; +const ll mod =998244353; + + +int main() +{ + #ifndef ONLINE_JUDGE + // for getting input from input.txt + freopen("input.txt", "r", stdin); + // for writing output to output.txt + freopen("output.txt", "w", stdout); + #endif + + IOS + ll n,i,ans; + cin>>n; + bool a[n]; + for(i=0;i>a[i]; + } + + + for(i=n-2;i>=0;i--) + { + if(a[i]==!a[n-1]) + { + ans=i; + break; + } + + } + + + + cout< Date: Wed, 3 Apr 2019 16:09:45 +0530 Subject: [PATCH 4/6] added a dummy code1 --- a.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 a.py diff --git a/a.py b/a.py new file mode 100644 index 0000000..ac1973d --- /dev/null +++ b/a.py @@ -0,0 +1 @@ +print("hello 1") From 2ff1648e90164b115f454b6b11a024e4214659ee Mon Sep 17 00:00:00 2001 From: Hardik Aggarwal Date: Wed, 3 Apr 2019 16:10:11 +0530 Subject: [PATCH 5/6] added a dummy code3 --- c.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 c.py diff --git a/c.py b/c.py new file mode 100644 index 0000000..870666a --- /dev/null +++ b/c.py @@ -0,0 +1 @@ +print("hello 3") From 537da134dec011a6f08be79b7d2adde2553d34bb Mon Sep 17 00:00:00 2001 From: Hardik Aggarwal Date: Wed, 3 Apr 2019 16:10:26 +0530 Subject: [PATCH 6/6] added a dummy code5 --- e.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 e.py diff --git a/e.py b/e.py new file mode 100644 index 0000000..28ccbba --- /dev/null +++ b/e.py @@ -0,0 +1 @@ +print("hello 5")