CDIT00 - Editorial

PROBLEM LINK:

Practice

Contest

Author: Akshay Sharma

Tester: Charu Kalra

Editorialist: Akshat Jain

DIFFICULTY:

CAKEWALK

PREREQUISITES:

Interest in Coding

PROBLEM:

The problem here is just to count the number of soldiers having id a multiple of 7.

QUICK EXPLANATION:

The task in this problem is to check if the given numbers are multiple of seven, and to count such numbers.

EXPLANATION:

• 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.