結果
| 問題 | No.2063 ±2^k operations (easy) |
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2022-09-02 21:28:05 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 139 bytes |
| 記録 | |
| コンパイル時間 | 185 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 71,936 KB |
| 最終ジャッジ日時 | 2026-05-11 06:25:25 |
| 合計ジャッジ時間 | 2,123 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 16 WA * 5 |
ソースコード
from collections import Counter
N=input().strip()
cnt = Counter(N)
print("Yes" if cnt["1"]==2 or sum(map(int,N[cnt["1"]:]))==0 else "No")
ikoma