Codechef Beginners Problems In C Mahasena Amr15a

In this video we are going to solve problem 23 of CodeChef's Beginner problems (Mahasena).

Check it out on CodeChef's website: codechef.com/problems/AMR15A

Problem:
Kattapa, as you all know was one of the greatest warriors of his time. The kingdom of Maahishmati had never lost a battle under him (as army-chief), and the reason for that was their really powerful army, also called as Mahasena.

Kattapa was known to be a very superstitious person. He believed that a soldier is "lucky" if the soldier is holding an even number of weapons, and "unlucky" otherwise. He considered the army as "READY FOR BATTLE" if the count of "lucky" soldiers is strictly greater than the count of "unlucky" soldiers, and "NOT READY" otherwise.

Given the number of weapons each soldier is holding, your task is to determine whether the army formed by all these soldiers is "READY FOR BATTLE" or "NOT READY".

For source code of this and all other problems in this playlist follow this link to our website: codepurpose.net/courses/codechef-beginner/26596-27136

Also make sure you follow us on social media.
Instagram: instagram.com/implementing.algorithm/
Facebook: facebook.com/implementing.algorithm

  • Problem 23: Mahasena / AMR15A | CodeChef Beginner C++ ( Download)
  • CodeChef - Beginner's problems in C++ : Mahasena (AMR15A) ( Download)
  • CodeChef - Beginner's problems : Mahasena(AMR15A) ( Download)
  • MAHASENA (AMR15A) - CODECHEF SOLUTION IN C++ || C++ TUTORIAL FOR BEGINNER ( Download)
  • Mahasena | CodeChef Beginners Problems | Python ( Download)
  • Solving CodeChef: Mahasena (AMR15A) ( Download)
  • CODECHEF EXERCISE-AMR15A SOLUTION IN C LANGUAGE | C/C++/Python| #programming #codechef ( Download)
  • Solving a Codechef problem | Mahasena ( Download)
  • AMR15A | MAHASENA | KATAPPA Problem | codechef beginner level | codechef solution ( Download)
  • Solve Mahasena Codechef Problem | Python ( Download)
  • Codechef - AMR15A|CHFINTO|TWOVSTEN(Mahasena| Chef and Interactive Contests | Two vs Ten) || STL Pair ( Download)
  • Problem 7: Find Remainder / FLOW002 | CodeChef Beginner C++ ( Download)
  • CodeChef - Beginner's problems in C++ : The Block Game(PALL01) ( Download)
  • Mahasena Codechef Solution#youtubeshorts#viralshort#java#codechefsolution ( Download)
  • Decrement or increment| DECINC | codechef beginner level soved in C | codechef solution ( Download)