結果
| 問題 | No.478 一般門松列列 |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-11-20 21:55:19 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 136 bytes |
| 記録 | |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 81,692 KB |
| 実行使用メモリ | 71,824 KB |
| 最終ジャッジ日時 | 2026-09-27 05:49:54 |
| 合計ジャッジ時間 | 5,635 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 30 |
ソースコード
n,k = map(int,input().split())
A = [0,1]
now = 1
for i in range(n-2):
if i < n - k - 2:
now ^= 1
A.append(now)
print(*A)
ntuda