結果

問題 No.744 循環小数N桁目 Easy
ユーザー HentciHentci
提出日時 2022-03-23 16:42:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 65 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,228 KB
実行使用メモリ 53,728 KB
最終ジャッジ日時 2024-04-20 01:01:10
合計ジャッジ時間 1,129 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,056 KB
testcase_01 AC 37 ms
51,940 KB
testcase_02 AC 34 ms
53,416 KB
testcase_03 AC 35 ms
52,328 KB
testcase_04 AC 35 ms
52,600 KB
testcase_05 AC 36 ms
51,936 KB
testcase_06 AC 35 ms
53,728 KB
testcase_07 AC 34 ms
52,000 KB
testcase_08 AC 33 ms
52,072 KB
testcase_09 AC 34 ms
51,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

arr = [2, 8, 5, 7, 1, 4]
p = int(input())
print(arr[(p - 1) % 6])
0