- 最後登錄
- 2024-11-16
- 在線時間
- 1622 小時
- 註冊時間
- 2010-8-8
- 閱讀權限
- 30
- 精華
- 0
- UID
- 8564223
- 帖子
- 479
- 積分
- 1755 點
- 潛水值
- 33942 米
| 所有積分大於負-100的壞孩子,將可獲得重新機會成為懲罰生,權限跟幼兒生一樣。 本帖最後由 tony01111299 於 2012-1-4 02:06 PM 編輯
是每組測試資料後請輸出一空白列,不是組與組間要有一行空白。
正確 Output 是- 76/25 = 3.04(0)
- 1 = number of digits in repeating cycle
- 5/43 = 0.(116279069767441860465)
- 21 = number of digits in repeating cycle
- 1/397 = 0.(00251889168765743073047858942065491183879093198992...)
- 99 = number of digits in repeating cycle
- 1/1 = 1.(0)
- 1 = number of digits in repeating cycle
- 0/558 = 0.(0)
- 1 = number of digits in repeating cycle
- // 注意這裡多了一行
複製代碼 而你的 Output 是- 76/25 = 3.04(0)
- 1 = number of digits in repeating cycle
- 5/43 = 0.(116279069767441860465)
- 21 = number of digits in repeating cycle
- 1/397 = 0.(00251889168765743073047858942065491183879093198992...)
- 99 = number of digits in repeating cycle
- 1/1 = 1.(0)
- 1 = number of digits in repeating cycle
- 0/558 = 0.(0)
- 1 = number of digits in repeating cycle
複製代碼 ... |
|