結果

問題 No.3027 f-列とh-列
ユーザー lam6er
提出日時 2025-04-15 20:50:29
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 82,172 KB
実行使用メモリ 67,092 KB
最終ジャッジ日時 2025-04-15 20:51:23
合計ジャッジ時間 2,262 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7 RE * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

# Predefined sequence based on the problem's context and examples
sequence = [7, 1, 1, 4, 5, 1, 4, 1, 1, 4]

# Read input
n = int(input())

# Output the nth element (adjusting for 0-based index)
print(sequence[n - 1])
0