結果
| 問題 | No.746 7の倍数 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-12-30 23:50:06 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 168 bytes |
| 記録 | |
| コンパイル時間 | 364 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,836 KB |
| 最終ジャッジ日時 | 2026-04-25 13:27:06 |
| 合計ジャッジ時間 | 5,052 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | WA * 20 |
ソースコード
# -*- coding: utf-8 -*-
from decimal import Decimal
n = int(input())
cnt = (10**n)//(7)
if cnt==0:
print(0)
else:
print(Decimal(cnt)/(Decimal(10)**Decimal(n)))