結果
| 問題 |
No.746 7の倍数
|
| コンテスト | |
| ユーザー |
mnr
|
| 提出日時 | 2020-03-02 12:07:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 161 bytes |
| コンパイル時間 | 108 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 11,264 KB |
| 最終ジャッジ日時 | 2024-10-13 21:00:45 |
| 合計ジャッジ時間 | 1,784 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 1 RE * 19 |
ソースコード
import decimal N = int(input()) l = len(str(10**N)) decimal.getcontext().prec = l n = decimal.Decimal((10**N) // 7) m = decimal.Decimal(10**N) P = n / m print(P)
mnr