結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー paruf4paruf4
提出日時 2021-01-22 21:57:23
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 219 bytes
コンパイル時間 811 ms
コンパイル使用メモリ 86,876 KB
実行使用メモリ 78,560 KB
最終ジャッジ日時 2023-08-27 18:52:46
合計ジャッジ時間 6,523 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
71,216 KB
testcase_01 AC 90 ms
71,708 KB
testcase_02 AC 88 ms
71,220 KB
testcase_03 AC 88 ms
71,740 KB
testcase_04 AC 87 ms
71,508 KB
testcase_05 AC 86 ms
71,648 KB
testcase_06 AC 88 ms
71,568 KB
testcase_07 AC 87 ms
71,536 KB
testcase_08 AC 89 ms
71,348 KB
testcase_09 AC 90 ms
71,460 KB
testcase_10 AC 87 ms
71,392 KB
testcase_11 AC 89 ms
71,572 KB
testcase_12 AC 89 ms
71,572 KB
testcase_13 AC 133 ms
78,076 KB
testcase_14 AC 116 ms
77,716 KB
testcase_15 AC 96 ms
77,228 KB
testcase_16 AC 105 ms
77,248 KB
testcase_17 AC 123 ms
78,196 KB
testcase_18 AC 109 ms
77,136 KB
testcase_19 AC 122 ms
78,272 KB
testcase_20 AC 111 ms
77,700 KB
testcase_21 AC 111 ms
77,612 KB
testcase_22 AC 121 ms
78,436 KB
testcase_23 AC 126 ms
78,368 KB
testcase_24 AC 127 ms
78,112 KB
testcase_25 AC 123 ms
78,356 KB
testcase_26 AC 123 ms
78,104 KB
testcase_27 AC 124 ms
78,560 KB
testcase_28 AC 125 ms
78,324 KB
testcase_29 AC 126 ms
78,264 KB
testcase_30 AC 126 ms
78,548 KB
testcase_31 AC 126 ms
78,264 KB
testcase_32 AC 124 ms
78,108 KB
testcase_33 AC 122 ms
78,304 KB
testcase_34 WA -
testcase_35 AC 90 ms
71,648 KB
testcase_36 AC 88 ms
71,508 KB
testcase_37 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
s = input()
c = Counter(s)
mn = 10**18
mnc = ''
for k, v in c.items():
    if v < mn:
        mnc = k
res = -1
for i in range(len(s)):
    if s[i] == k:
        res = i+1
print(res, mnc)
0