結果
| 問題 |
No.2063 ±2^k operations (easy)
|
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2022-09-02 21:28:05 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 139 bytes |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 82,108 KB |
| 実行使用メモリ | 71,924 KB |
| 最終ジャッジ日時 | 2024-11-16 02:20:10 |
| 合計ジャッジ時間 | 2,254 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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