結果

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

ソースコード

diff #

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

# Read input
n = int(input())

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