結果
| 問題 | No.746 7の倍数 |
| コンテスト | |
| ユーザー |
Cyberdog-しばいぬ-
|
| 提出日時 | 2019-02-04 12:19:44 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 146 bytes |
| 記録 | |
| コンパイル時間 | 108 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-12-24 15:34:24 |
| 合計ジャッジ時間 | 1,758 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | RE * 20 |
ソースコード
N = int(input())
x = 10 ** N
a = x
y = x % 7
x -= y
x /= 7
print("{0}".format(int(x / a))) if x == 0 \
else print("{0}".format(float(x / a)))
Cyberdog-しばいぬ-