shamelessad6

Shameless Ad 6

Oolimry the duck has been teaching CP at various places for the past few years but is kind of busy now. So, here are all the resources released publicly! Here is the link to get started. This set of resources can be used as both a self-study guide and as materials, and I hope it'll make it easier for anyone to start getting into Competitive Programming :)

Anyways, here's the problem. Given a, b, c. Output a × b modulo c. But there's a catch, c is missing! Go find it!

Input Format

Input consists of 2 integers, a and b

Output Format

Output 1 integer, a × b modulo c

Sample testcases

Input 1:
4 5
Output 1:
20



Submitting to 'shamelessad6'


You're not logged in! Click here to login


Submitting to 'shamelessad6'


You're not logged in! Click here to login


Submitting .cpp to 'shamelessad6'


You're not logged in! Click here to login

Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Duck Duck Code (oolimry)

Subtask Score
1 0
2 100