結果
| 問題 | No.1738 What's in the box? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-12 21:46:15 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 208 bytes |
| 記録 | |
| コンパイル時間 | 214 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 59,008 KB |
| 最終ジャッジ日時 | 2026-05-20 07:56:34 |
| 合計ジャッジ時間 | 4,253 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 10 WA * 60 |
ソースコード
n,m = map(int,input().split())
W = list(map(int,input().split()))
ans = []
for i in range(n-1):
if W[i] == 0:
ans.append(0)
else:
ans.append(1)
m -= 1
ans.append(m)
print(*ans)