結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー tktk_snsntktk_snsn
提出日時 2021-01-22 21:35:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 121 ms / 1,000 ms
コード長 156 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 78,112 KB
最終ジャッジ日時 2023-08-27 17:47:13
合計ジャッジ時間 5,696 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
71,636 KB
testcase_01 AC 88 ms
71,420 KB
testcase_02 AC 82 ms
71,668 KB
testcase_03 AC 83 ms
71,824 KB
testcase_04 AC 83 ms
71,632 KB
testcase_05 AC 86 ms
71,724 KB
testcase_06 AC 86 ms
71,564 KB
testcase_07 AC 83 ms
71,564 KB
testcase_08 AC 85 ms
71,652 KB
testcase_09 AC 83 ms
71,416 KB
testcase_10 AC 84 ms
71,572 KB
testcase_11 AC 85 ms
71,804 KB
testcase_12 AC 85 ms
71,564 KB
testcase_13 AC 112 ms
77,964 KB
testcase_14 AC 110 ms
77,396 KB
testcase_15 AC 94 ms
76,792 KB
testcase_16 AC 98 ms
76,984 KB
testcase_17 AC 114 ms
77,784 KB
testcase_18 AC 102 ms
76,876 KB
testcase_19 AC 115 ms
77,800 KB
testcase_20 AC 103 ms
77,304 KB
testcase_21 AC 100 ms
77,080 KB
testcase_22 AC 110 ms
77,944 KB
testcase_23 AC 116 ms
77,932 KB
testcase_24 AC 119 ms
78,112 KB
testcase_25 AC 119 ms
78,104 KB
testcase_26 AC 119 ms
77,916 KB
testcase_27 AC 119 ms
78,024 KB
testcase_28 AC 115 ms
78,024 KB
testcase_29 AC 117 ms
78,048 KB
testcase_30 AC 118 ms
77,912 KB
testcase_31 AC 119 ms
78,072 KB
testcase_32 AC 118 ms
77,908 KB
testcase_33 AC 121 ms
77,896 KB
testcase_34 AC 120 ms
77,936 KB
testcase_35 AC 87 ms
71,856 KB
testcase_36 AC 87 ms
71,364 KB
testcase_37 AC 86 ms
71,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
S = input()
C = Counter(S)
for k, v in C.items():
    if v == 1:
        ans = k
        break

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