結果
| 問題 | No.2038 Strange Arrange |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-16 00:29:41 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 279 bytes |
| 記録 | |
| コンパイル時間 | 214 ms |
| コンパイル使用メモリ | 95,340 KB |
| 実行使用メモリ | 78,376 KB |
| 最終ジャッジ日時 | 2026-07-09 09:38:25 |
| 合計ジャッジ時間 | 1,541 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 |
ソースコード
n = int(input()) first_half_length = (n + 1) // 2 second_half_length = n - first_half_length first_half = [str(i) for i in range(1, first_half_length + 1)] second_half = [str(i) for i in range(1, second_half_length + 1)] result = ''.join(first_half + second_half) print(result)
lam6er