結果

問題 No.2038 Strange Arrange
ユーザー gew1fw
提出日時 2025-06-12 20:50:37
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 125 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 81,872 KB
実行使用メモリ 53,664 KB
最終ジャッジ日時 2025-06-12 20:55:27
合計ジャッジ時間 1,162 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
k = (n + 1) // 2
part1 = ''.join(str(i) for i in range(1, k + 1))
part2 = part1[:n - k]
print(part1 + part2)
0