Author: Akshay Sharma
Tester: Charu Kalra
Editorialist: Akshat Jain
Interest in Coding
The problem here is just to count the number of soldiers having id a multiple of 7.
The task in this problem is to check if the given numbers are multiple of seven, and to count such numbers.
• After having number of test cases as input, each test is to be inputted and processed.
• Each test case contains an array of numbers.
• Check if the numbers are a multiple of 7, count such numbers.
• Finally, display the count.
AUTHOR’S AND TESTER’S SOLUTIONS:
Author’s solution can be found here.
Tester’s solution can be found here.