結果

問題 No.744 循環小数N桁目 Easy
ユーザー surprise_tanaka
提出日時 2018-11-19 15:46:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 194 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-12-24 15:16:56
合計ジャッジ時間 1,044 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N % 6 == 0:
    print(4)
elif N % 6 == 1:
    print(2)
elif N % 6 == 2:
    print(8)
elif N % 6 == 3:
    print(5)
elif N % 6 == 4:
    print(7)
elif N % 7 == 5:
    print(1)
0