electicode
HomeCoursesResourcesProblemsNational OlympiadContestsLeaderboard
...

a/b

Time Limit: 1000msMemory Limit: 256MB
View Submissions

Problem Description

Given two numbers aaa and bbb. Output the result of dividing aaa by bbb without a remainder.

Input Format

The first line contains two integers a and b, separated by a space. (−109≤a,b≤109)(-10^9 \le a, b \le 10^9)(−109≤a,b≤109).

Output Format

Output a single integer - the answer.

Examples

Example 1
Input
15 4
Output
3
Example 2
Input
-3 2
Output
-1
Explanation

-3 / 2 = -1.5. Если отбросить дробную часть, получится -1. В Python для этого используйте int(a / b).

© 2026 Electicode. All rights reserved.