What a day
Practice
4 (2 votes)
Very Easy
Problem
87% Success 1886 Attempts 10 Points 1s Time Limit 256MB Memory 1024 KB Max Code
Sample Input
10 2
Sample Output
6
Code Editor
Please login to use the editor
You need to be logged in to access the code editor
Loading...
Please wait while we load the editor
Submissions
Please login to view your submissions
Similar Problems
Points:10
57 votes
Tags:
MathematicsModulus ArithmeticMathNumber Theory
Points:10
3 votes
Tags:
Very-Easy
Points:10
14 votes
Tags:
AlgorithmsBasics of String ManipulationMath BasicModulus ArithmeticMathNumber Theory
Editorial
No editorial available for this problem.
Please login to use the editor
You need to be logged in to access the code editor
Loading...
Please wait while we load the editor