HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50280 - Division

Guest
• Discussion of problem (1)

Section problems

• 50946 - Area of Rectangle
• 50949 - Vowel or Consonant
• 50881 - Exchange the Values
• 51114 - The traveling vehicle
• 50937 - Calculate the Average
• 50947 - Calculate the Average
• 50964 - Increasing or Decreasing
• 50948 - Translate Score into Grade
• 50280 - Division
• 50256 - Sequence
• 50257 - Galls village
• 50266 - Kovrov
• 50254 - Lawyers Council
• 50260 - What about judges?
• 50259 - Many-coloured roads
• 50278 - ATM
• 50277 - Unusual Lottery

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Ibrahim Mesecan.

You will be given two numbers. Find quotient and remainder from the division operation.

Input
In the first line a dividend is written, in the second - a divisor.
Output
Write the quotient in the first line, the remainder in the second.

Input Output
111
11
10
1

Для отправки решений необходимо выполнить вход.

www.contester.ru