AM_I_Learning's blog

By AM_I_Learning, history, 5 months ago, In English

We heycoach Community invite you to take part in our coding contest which features 5 algorithmic + 1 hacking based coding problems.

The contest will start from :-- 22nd December 6pm and will last for 2 hours.

Contest link:-HCCC2020

Separate registration for prizes is required see below for more details

ACM style ranking and scoring that is binary format.


This contest is organized by Hey Coach A Tech interview and CP Coach website which focus on personalized guide for mastering technical concepts.

  • Heycoach is a tech interview and competitive programming personalized coaching web based platform on which coach and students interact with each other to learn more. We offer courses on various Fields of computer science. We have launched our comprehensive guide to competitive programming on our website Cp Coach

  • Its vision is to make students master their concepts well and implement them in real life with ease and on the top of it the best is that all things are a way personalized and user friendly.

Prizes worth 300k

  • All participants will get a whooping 50% discount on CP coach personalized course for 1 year access.

  • Top 10 participants will get full CP coach course free.

  • Next 15 participants will get 90% discount on our CP coach course.

  • Next 25 participants will get 85% discount on our CP coach course.

  • Course link:-Cp Coach

  • Main website link:- heycoach

  • Registration link for prizes:-

Setters , Testers and Editorialists:- rstephen_2907 , parsifal_404 , lucky_21 and me.

Note:- 5 problems contains equal points that is 1 point each the 6th problem contains 0 points it is just for fun. and to test your hacking and debugging skills.

We hope you will enjoy the contest .

Happy Coding , hope to see you on the leader board.

Editorials are all ready and will be posted just after the contest ends.

For any query and clarifications comment below.

This is our first time setting a contest thus please support us and give us a useful feedback on our performance.

Read more »

  • Vote: I like it
  • -6
  • Vote: I do not like it

By AM_I_Learning, history, 7 months ago, In English








Read more »

  • Vote: I like it
  • +127
  • Vote: I do not like it

By AM_I_Learning, history, 14 months ago, In English

We have to handle Q queries on the array and in each query we are asked to find number of pairs {a,b} present at the moment in the array whose value are such that a<=x and b<=y for {x,y} given in the query.

Problem Link :-Codechef Bulbs

Please share the approach as I am not getting any tutorial for this problem

Please help . Thanks in advance.

Read more »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By AM_I_Learning, history, 15 months ago, In English

Hello CodeForces Community,

I would like to invite you all to the STRT2020 , a Kick start Coding Contest for beginners and Newbies in the world of Coding. As a Part of promoting coding culture among Freshers in our college National Institute of Technology Patna We tried designing a beautiful contest for all levels of difficulty.

Contest Link:- STRT2020

STRT2020 is the first open contest conducted by emerging Codechef Campus Chapter CODECUBE of National Institute of Technology Patna.

TIME:- 6pm to 9 pm Saturday 22 February 2020.

Participants will have 3 hours to solve 7-8 problems . The rankings and scoring will be ACM ICPC style. Based . Problems will also contain Subtasks.

Problems of all levels of difficulty has been set . So this contest is for everyone.

  • PRIZES:-
  1. INDIAN : TOP 3 Indian Participants -T-Shirts.
  2. NIT PATNA : TOP 3 From First Year T-shirts.
  3. NIT PATNA : TOP 9 From NIT Patna (Overall) . Upto 100% off on Coding Blocks Courses.

I would like to thank my team and Neha Kakkoth Ma'am (Team CodeChef) in building this contest and supporting us and also thanks to CODECHEF.



Fill the google-doc here for registeration of prizes. regiter_for_prizes here

Good luck everyone! Hope to see you on the leaderboard.

For any query contact:- ,

Read more »

  • Vote: I like it
  • -1
  • Vote: I do not like it

By AM_I_Learning, history, 19 months ago, In English

for this problem Your text to link here... but while checking on other compilers and judges output is as required by the judge see the test 7 is 666010979 443570624148538441 but on my personal compilers the output is same as required by the judge... that is.. 886507301. Completely inaware of this situation please help what is the bug here in my code or in judges.

Read more »

  • Vote: I like it
  • +1
  • Vote: I do not like it

By AM_I_Learning, history, 22 months ago, In English

solution is that check if there is an entry in the array from i=2 to i=n-1; such that a[i]<a[i-1]&&a[i]<a[i+1]. If there is such a value ans is NO else answer is always "YES". This is an easy way to solve that problem.... OK................

Read more »

  • Vote: I like it
  • -11
  • Vote: I do not like it