結果

問題 No.3027 f-列とh-列
ユーザー gew1fw
提出日時 2025-06-12 18:25:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 81,992 KB
実行使用メモリ 67,032 KB
最終ジャッジ日時 2025-06-12 18:26:16
合計ジャッジ時間 2,153 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7 RE * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

# Read the input
n = int(input())
# Define the sequence based on the derived formula
sequence = [7, 4, 1, 8, 5, 2, 9, 6, 3, 0]
# Output the nth element (adjusting for 0-based index)
print(sequence[n-1])
0