Loading...
BlueBook - Multiple
Time: 1 s
Memory: 125 MB
Write a program that reads two positive integers and then determines whether or not the first number is a multiple of the second.
The program should output "yes" if they are, and "no" otherwise.
Input
The input consists of two integer numbers a and b, each on a separate line.
Output
output "yes" if they are, and "no" otherwise.
Examples
Input
Output
200
100
yes
Input
Output
100
200
no
Problem Info
Problem ID 462
Time Limit 1000 ms
Memory Limit 128000 KB
Moderators pixelarco
Statistics
Submit
You need to Login or Registration for submit your solution