Quantcast
Viewing all articles
Browse latest Browse all 39796

T21 - Editorial

PROBLEM LINK:

[Contest] T21

Author:Nandishwar Garg

DIFFICULTY:

SIMPLE

PREREQUISITES:

None

PROBLEM:

You are given two large numbers m and n. You have to multiply m and n then product is needed to be divided by 3. What will be the remainder after division?

EXPLANATION:

To solve the problem, just go through these 3 steps:

Step 1: The given numbers m and n are needed to be multiplied.

Step 2: The product which you get after multiplying the numbers is needed to be divided by 3.

Step 3: Print the remainder you get.

AUTHOR'S SOLUTION:

Author's solution can be found here


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>