結果
問題 | No.2063 ±2^k operations (easy) |
ユーザー |
![]() |
提出日時 | 2022-09-02 21:30:03 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 57 ms / 2,000 ms |
コード長 | 155 bytes |
コンパイル時間 | 683 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 71,296 KB |
最終ジャッジ日時 | 2024-11-16 02:22:23 |
合計ジャッジ時間 | 2,272 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
from collections import CounterN=input().strip()cnt = Counter(N)print("Yes" if cnt["1"]==2 or sum(map(int,N[cnt["1"]:]))==0 and cnt["1"]>1 else "No")