結果

問題 No.744 循環小数N桁目 Easy
ユーザー yakimanjuyakimanju
提出日時 2018-10-19 23:15:40
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 1,660 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 359 ms
コンパイル使用メモリ 10,500 KB
実行使用メモリ 7,976 KB
最終ジャッジ日時 2023-08-12 02:18:34
合計ジャッジ時間 3,981 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,796 KB
testcase_01 AC 14 ms
7,820 KB
testcase_02 AC 14 ms
7,900 KB
testcase_03 AC 14 ms
7,804 KB
testcase_04 AC 18 ms
7,972 KB
testcase_05 AC 16 ms
7,872 KB
testcase_06 AC 32 ms
7,856 KB
testcase_07 AC 239 ms
7,856 KB
testcase_08 AC 694 ms
7,976 KB
testcase_09 AC 1,660 ms
7,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

numList = ["2", "8", "5", "7", "1", "4"]
n = int(input())

while n >= 6:
    n = n - 6
else:
    print(numList[n - 1])
0