TopCoder

User's AC Ratio

71.1% (69/97)

Submission's AC Ratio

30.0% (101/337)

Description

請將兩個50位數以內的整數數字相除,列印出結果。

Input Format

輸入包含二列,第一列為被除數 $A$,第二列為除數 $B$。

Output Format

請輸出 $A$ 除以 $B$ 的商。

Sample Input

99999999999999999999
2

Sample Output

49999999999999999999

Hints

Problem Source

原TIOJ1006 / 建國中學95學年度校內資訊能力競賽(3, divide)

Subtasks

For Testdata: 0 ~ 0, Score: 11
For Testdata: 1 ~ 1, Score: 11
For Testdata: 2 ~ 2, Score: 11
For Testdata: 3 ~ 3, Score: 11
For Testdata: 4 ~ 4, Score: 11
For Testdata: 5 ~ 5, Score: 11
For Testdata: 6 ~ 6, Score: 11
For Testdata: 7 ~ 7, Score: 11
For Testdata: 8 ~ 8, Score: 12
No. Time Limit (ms) Memory Limit (KiB) Output Limit (KiB)
0 1000 65536 65536
1 1000 65536 65536
2 1000 65536 65536
3 1000 65536 65536
4 1000 65536 65536
5 1000 65536 65536
6 1000 65536 65536
7 1000 65536 65536
8 1000 65536 65536