HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginner > problem:


50006 - Division

Guest
• Discussion of problem (2)

Volume problems

• 50006 - Division
• 50061 - Cinema Tickets
• 50070 - Number of Chairs
• 50078 - Placing Dominoes on Chess...
• 50079 - Fun Fair
• 50088 - ATM
• 50117 - What quadrant is it?
• 50118 - Car Parking
• 50119 - Bank Charges

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