結果

問題 No.2063 ±2^k operations (easy)
ユーザー xZen1xZen1
提出日時 2022-09-02 22:36:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 124 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 82,244 KB
実行使用メモリ 58,880 KB
最終ジャッジ日時 2024-04-27 22:12:26
合計ジャッジ時間 1,852 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,632 KB
testcase_01 AC 38 ms
51,996 KB
testcase_02 AC 38 ms
52,944 KB
testcase_03 AC 37 ms
52,036 KB
testcase_04 AC 37 ms
53,104 KB
testcase_05 AC 38 ms
53,296 KB
testcase_06 AC 37 ms
52,364 KB
testcase_07 WA -
testcase_08 AC 38 ms
52,432 KB
testcase_09 AC 37 ms
52,336 KB
testcase_10 AC 38 ms
51,700 KB
testcase_11 AC 37 ms
52,288 KB
testcase_12 AC 38 ms
53,300 KB
testcase_13 WA -
testcase_14 AC 37 ms
52,696 KB
testcase_15 AC 37 ms
52,800 KB
testcase_16 AC 38 ms
52,892 KB
testcase_17 AC 40 ms
57,840 KB
testcase_18 AC 40 ms
58,880 KB
testcase_19 AC 39 ms
56,196 KB
testcase_20 AC 41 ms
57,720 KB
testcase_21 WA -
testcase_22 AC 42 ms
56,776 KB
testcase_23 AC 42 ms
58,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = list(input())
if n.count("1") == 2 or (n.count("0") == 2 and n.count("1") != 1):
    print('Yes')
else:
    print('No')
0