結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー 👑 KazunKazun
提出日時 2020-09-07 22:59:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 104 ms / 1,000 ms
コード長 98 bytes
コンパイル時間 355 ms
コンパイル使用メモリ 87,068 KB
実行使用メモリ 91,352 KB
最終ジャッジ日時 2023-10-01 00:45:47
合計ジャッジ時間 5,418 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,312 KB
testcase_01 AC 76 ms
71,376 KB
testcase_02 AC 73 ms
71,436 KB
testcase_03 AC 72 ms
71,380 KB
testcase_04 AC 74 ms
71,284 KB
testcase_05 AC 74 ms
71,292 KB
testcase_06 AC 75 ms
71,296 KB
testcase_07 AC 74 ms
71,616 KB
testcase_08 AC 72 ms
71,376 KB
testcase_09 AC 77 ms
71,436 KB
testcase_10 AC 71 ms
71,564 KB
testcase_11 AC 71 ms
71,472 KB
testcase_12 AC 69 ms
71,448 KB
testcase_13 AC 83 ms
75,412 KB
testcase_14 AC 84 ms
74,848 KB
testcase_15 AC 74 ms
71,992 KB
testcase_16 AC 81 ms
73,148 KB
testcase_17 AC 88 ms
76,064 KB
testcase_18 AC 79 ms
73,788 KB
testcase_19 AC 103 ms
91,048 KB
testcase_20 AC 83 ms
74,060 KB
testcase_21 AC 79 ms
73,984 KB
testcase_22 AC 82 ms
75,448 KB
testcase_23 AC 103 ms
90,996 KB
testcase_24 AC 102 ms
91,048 KB
testcase_25 AC 101 ms
90,988 KB
testcase_26 AC 100 ms
90,828 KB
testcase_27 AC 100 ms
90,892 KB
testcase_28 AC 100 ms
91,328 KB
testcase_29 AC 99 ms
90,976 KB
testcase_30 AC 102 ms
91,012 KB
testcase_31 AC 103 ms
91,156 KB
testcase_32 AC 104 ms
91,328 KB
testcase_33 AC 101 ms
91,352 KB
testcase_34 AC 100 ms
90,980 KB
testcase_35 AC 71 ms
71,460 KB
testcase_36 AC 70 ms
71,600 KB
testcase_37 AC 68 ms
71,468 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()

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

if S[:3].count(a)>=2:
    x=b
else:
    x=a

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