TopCoder

Caido
主唱太拼命了

User's AC Ratio

100.0% (14/14)

Submission's AC Ratio

87.5% (14/16)

Tags

Description

小明,一個正在教學生除法的老師,出了很多題目要學生回家練習。但因為題目太多,加上老師自己也不確定他算出的答案是不是正確的,因此希望你能告訴他每題的答案,讓他確定他的答案是正確的。

Input Format

輸入只有兩個數字 $a,b(0 \le a \le 10^ 9,1 \le b\le 10^ 9)$ 分別代表這題的被除數與除數。

Output Format

請輸出一行文字如下 a/b=c...d
其中 $a,b$ 是題目所給定的數字,$c,d$ 分別是 $a$ 除以 $b$ 的商數及餘數。

Sample Input 1

5 2

Sample Output 1

5/2=2...1

Sample Input 2

0 10

Sample Output 2

0/10=0...0

Hints

Problem Source

Subtasks

No. Testdata Range Constraints Score
1 0~1 範例測資 0
2 0~25 無額外限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 524288 65536 1 2
1 1000 524288 65536 1 2
2 1000 524288 65536 2
3 1000 524288 65536 2
4 1000 524288 65536 2
5 1000 524288 65536 2
6 1000 524288 65536 2
7 1000 524288 65536 2
8 1000 524288 65536 2
9 1000 524288 65536 2
10 1000 524288 65536 2
11 1000 524288 65536 2
12 1000 524288 65536 2
13 1000 524288 65536 2
14 1000 524288 65536 2
15 1000 524288 65536 2
16 1000 524288 65536 2
17 1000 524288 65536 2
18 1000 524288 65536 2
19 1000 524288 65536 2
20 1000 524288 65536 2
21 1000 524288 65536 2
22 1000 524288 65536 2
23 1000 524288 65536 2
24 1000 524288 65536 2
25 1000 524288 65536 2