結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー 👑 KazunKazun
提出日時 2020-09-07 23:05:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 104 ms / 1,000 ms
コード長 94 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 87,148 KB
実行使用メモリ 91,004 KB
最終ジャッジ日時 2023-10-01 00:45:53
合計ジャッジ時間 5,082 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,272 KB
testcase_01 AC 70 ms
71,104 KB
testcase_02 AC 71 ms
71,308 KB
testcase_03 AC 70 ms
71,096 KB
testcase_04 AC 70 ms
71,356 KB
testcase_05 AC 74 ms
70,940 KB
testcase_06 AC 72 ms
71,192 KB
testcase_07 AC 71 ms
71,176 KB
testcase_08 AC 69 ms
71,276 KB
testcase_09 AC 71 ms
71,116 KB
testcase_10 AC 73 ms
71,112 KB
testcase_11 AC 71 ms
71,100 KB
testcase_12 AC 70 ms
71,100 KB
testcase_13 AC 86 ms
75,284 KB
testcase_14 AC 84 ms
74,904 KB
testcase_15 AC 73 ms
71,648 KB
testcase_16 AC 78 ms
72,676 KB
testcase_17 AC 86 ms
75,628 KB
testcase_18 AC 82 ms
73,612 KB
testcase_19 AC 104 ms
90,936 KB
testcase_20 AC 82 ms
74,140 KB
testcase_21 AC 79 ms
73,484 KB
testcase_22 AC 83 ms
75,244 KB
testcase_23 AC 101 ms
90,820 KB
testcase_24 AC 103 ms
90,596 KB
testcase_25 AC 102 ms
90,596 KB
testcase_26 AC 102 ms
90,820 KB
testcase_27 AC 100 ms
91,000 KB
testcase_28 AC 102 ms
90,764 KB
testcase_29 AC 103 ms
90,788 KB
testcase_30 AC 101 ms
90,968 KB
testcase_31 AC 104 ms
91,004 KB
testcase_32 AC 102 ms
90,788 KB
testcase_33 AC 102 ms
90,896 KB
testcase_34 AC 103 ms
90,832 KB
testcase_35 AC 72 ms
71,208 KB
testcase_36 AC 70 ms
71,052 KB
testcase_37 AC 71 ms
71,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()

[a,b]=list(set(S))

if S.count(a)==1:
    x=a
else:
    x=b

print(S.index(x)+1,x)
0