結果

問題 No.746 7の倍数
ユーザー chizuchizuchizuchizu
提出日時 2018-10-22 09:53:54
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 153 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-19 03:35:32
合計ジャッジ時間 1,569 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 RE * 2
other AC * 2 RE * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a="142857"
if n==0:
    print(0)
else:
    if n%6==0:
        print("0."+a*int(n/6))
    else:
        print("0.",a*int(n/6),s[:int(n%6)])
0