結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー brthyyjpbrthyyjp
提出日時 2021-01-22 21:29:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 142 ms / 1,000 ms
コード長 210 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 86,572 KB
実行使用メモリ 77,384 KB
最終ジャッジ日時 2023-08-27 17:31:56
合計ジャッジ時間 5,919 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
71,432 KB
testcase_01 AC 90 ms
71,464 KB
testcase_02 AC 90 ms
71,436 KB
testcase_03 AC 88 ms
71,332 KB
testcase_04 AC 89 ms
71,336 KB
testcase_05 AC 88 ms
71,392 KB
testcase_06 AC 88 ms
71,396 KB
testcase_07 AC 90 ms
71,216 KB
testcase_08 AC 92 ms
71,384 KB
testcase_09 AC 93 ms
71,408 KB
testcase_10 AC 95 ms
71,444 KB
testcase_11 AC 92 ms
71,448 KB
testcase_12 AC 93 ms
71,340 KB
testcase_13 AC 142 ms
76,976 KB
testcase_14 AC 117 ms
76,864 KB
testcase_15 AC 99 ms
76,972 KB
testcase_16 AC 105 ms
76,644 KB
testcase_17 AC 121 ms
77,040 KB
testcase_18 AC 107 ms
76,724 KB
testcase_19 AC 122 ms
77,088 KB
testcase_20 AC 113 ms
76,956 KB
testcase_21 AC 109 ms
77,208 KB
testcase_22 AC 119 ms
77,384 KB
testcase_23 AC 121 ms
77,144 KB
testcase_24 AC 122 ms
77,364 KB
testcase_25 AC 122 ms
77,096 KB
testcase_26 AC 122 ms
77,360 KB
testcase_27 AC 119 ms
77,004 KB
testcase_28 AC 119 ms
77,112 KB
testcase_29 AC 122 ms
76,876 KB
testcase_30 AC 120 ms
77,100 KB
testcase_31 AC 122 ms
77,096 KB
testcase_32 AC 122 ms
76,796 KB
testcase_33 AC 123 ms
77,068 KB
testcase_34 AC 120 ms
77,012 KB
testcase_35 AC 90 ms
71,436 KB
testcase_36 AC 90 ms
71,384 KB
testcase_37 AC 90 ms
71,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = str(input())
from collections import Counter
C = Counter(s)
C = list(C.items())
C.sort(key=lambda x:x[1])
#print(C)
k = C[0][0]
for i, c in enumerate(s):
    if c == k:
        print(i+1, k)
        exit()
0