HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50006 - Division

Guest
• Discussion of problem (2)

Section problems

• Meat store
• Tetris 3D
• Bit Decoder
• Knights of the Rook
• Coins
• Primes
• Providers
• 2-10
• 50006 - Division
• 50030 - Exam Averages
• 50034 - Profit or Loss
• 50057 - Parkside's Other Triangle
• 50059 - Passengers in the Train
• 50061 - Cinema Tickets
• 50065 - Page "Like" Ave...
• 50076 - Zero Padding
• 50085 - Calculating Weekly Pay

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