結果

問題 No.2063 ±2^k operations (easy)
ユーザー ikomaikoma
提出日時 2022-09-02 21:28:05
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 139 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 82,440 KB
実行使用メモリ 72,940 KB
最終ジャッジ日時 2024-04-27 20:53:44
合計ジャッジ時間 2,159 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,936 KB
testcase_01 AC 39 ms
53,812 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 38 ms
54,004 KB
testcase_06 WA -
testcase_07 AC 38 ms
54,044 KB
testcase_08 AC 38 ms
54,200 KB
testcase_09 AC 42 ms
54,096 KB
testcase_10 WA -
testcase_11 AC 38 ms
54,840 KB
testcase_12 AC 38 ms
54,116 KB
testcase_13 AC 38 ms
55,216 KB
testcase_14 AC 37 ms
54,304 KB
testcase_15 AC 38 ms
53,292 KB
testcase_16 AC 41 ms
53,496 KB
testcase_17 WA -
testcase_18 AC 48 ms
68,356 KB
testcase_19 AC 47 ms
67,060 KB
testcase_20 AC 49 ms
68,760 KB
testcase_21 AC 52 ms
69,516 KB
testcase_22 AC 50 ms
70,648 KB
testcase_23 AC 49 ms
69,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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")
0