AM_I_Learning's blog

By AM_I_Learning, history, 5 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, 6 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.

SETTERS:

TESTERS:

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:- mohnish.cs18@nitp.ac.in , arpit.cs18@nitp.ac.in

Read more »

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

By AM_I_Learning, history, 10 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, 13 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