結果

問題 No.3027 f-列とh-列
ユーザー gew1fw
提出日時 2025-06-12 13:11:20
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 231 bytes
コンパイル時間 424 ms
コンパイル使用メモリ 82,948 KB
実行使用メモリ 67,260 KB
最終ジャッジ日時 2025-06-12 13:14:13
合計ジャッジ時間 2,556 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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