paras_churi's blog

By paras_churi, history, 4 hours ago, In English

Problem A: Seeker's Truth

Determine if Dhroov is a truth-teller or a liar based on Sarid’s identity and his claim about Dhroov.

Tutorial
C++ Code
Python code

Problem B: Giga-Move Drip

Determine whether buying a coupon that reduces the price of each item is beneficial, or if it’s cheaper to pay the full price for all items.

Tutorial
C++ Code
Python code

Problem C: Manav’s Taxi Dilemma: From VJTI to Dadar

Determine the minimum number of taxis required to transport multiple groups of students, with each taxi carrying up to 4 students and groups traveling together.

Tutorial
C++ Code
Python code

Problem D: Advertisement Adventures

The task is to transform an NxN grid into a valid 'Y' shape by changing cell values with the minimum number of operations, ensuring 'Y' cells have the same value and non-'Y' cells have a different value.

Tutorial
C++ Code
Python code

Problem E: The Garba Paradox : Choose the pill — Red or Blue ?

The problem is about assigning two colors, RED and BLUE, to dancers so that no two neighboring dancers have the same color.

Tutorial
C++ Code
Python code

Problem F: Arnav vs. Paras: The Decisive Battle of Bits

You are given two numbers, n and x. The challenge is to find the smallest integer m (where m ≥ n) such that the Bitwise AND of all integers from n to m equals x.

Tutorial
C++ Code
Python code
  • Vote: I like it
  • +3
  • Vote: I do not like it