結果
問題 |
No.746 7の倍数
|
ユーザー |
![]() |
提出日時 | 2018-11-02 13:25:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 139 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-20 13:10:50 |
合計ジャッジ時間 | 1,603 ms |
ジャッジサーバーID (参考情報) |
judge3 / 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)))