結果
| 問題 | No.2063 ±2^k operations (easy) |
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2022-09-02 21:30:03 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 36 ms / 2,000 ms |
| + 66µs | |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 69 ms |
| コンパイル使用メモリ | 80,556 KB |
| 実行使用メモリ | 74,228 KB |
| 最終ジャッジ日時 | 2026-10-11 00:11:17 |
| 合計ジャッジ時間 | 2,153 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
from collections import Counter
N=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")
ikoma