АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

111. A div B

Time Limit: 1 seconds
Memory Limit:64000KB
Points:1
View Problem Statistics Submit Problem added Administrator

С клавиатуры вводятся два целых числа. Вывести на экран YES, если большее из чисел делится на меньшее без остатка и NO - в противном случае.

Input

Два целых числа M, N через пробел ( M, N < 232)

Output

YES, если большее из чисел делится на меньшее без остатка и NO - в противном случае.

Sample

InputOutput
6 2YES

Автор:Вабищевич А. Ю.

View Problem Statistics Submit Author/source:
Educational Courses / Programming and Basics of Algorithmization / Branching /
111. 113. Brick and Hole 112. Change 137. Days of Week
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.031 sec.
© Copyright VSTU, AVT, Nosov D.A.