結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー H3PO4H3PO4
提出日時 2021-01-22 21:26:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 48 ms / 1,000 ms
コード長 159 bytes
コンパイル時間 469 ms
コンパイル使用メモリ 10,696 KB
実行使用メモリ 9,336 KB
最終ジャッジ日時 2023-08-27 17:16:57
合計ジャッジ時間 3,038 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,328 KB
testcase_01 AC 17 ms
8,316 KB
testcase_02 AC 17 ms
8,320 KB
testcase_03 AC 17 ms
8,472 KB
testcase_04 AC 17 ms
8,272 KB
testcase_05 AC 17 ms
8,372 KB
testcase_06 AC 17 ms
8,304 KB
testcase_07 AC 17 ms
8,272 KB
testcase_08 AC 16 ms
8,404 KB
testcase_09 AC 16 ms
8,332 KB
testcase_10 AC 16 ms
8,244 KB
testcase_11 AC 16 ms
8,376 KB
testcase_12 AC 16 ms
8,316 KB
testcase_13 AC 41 ms
9,060 KB
testcase_14 AC 39 ms
9,288 KB
testcase_15 AC 19 ms
8,568 KB
testcase_16 AC 28 ms
8,600 KB
testcase_17 AC 45 ms
9,160 KB
testcase_18 AC 31 ms
8,888 KB
testcase_19 AC 45 ms
9,216 KB
testcase_20 AC 34 ms
9,072 KB
testcase_21 AC 31 ms
8,836 KB
testcase_22 AC 39 ms
9,012 KB
testcase_23 AC 45 ms
9,228 KB
testcase_24 AC 45 ms
9,216 KB
testcase_25 AC 46 ms
9,336 KB
testcase_26 AC 46 ms
9,232 KB
testcase_27 AC 48 ms
9,220 KB
testcase_28 AC 46 ms
9,188 KB
testcase_29 AC 46 ms
9,292 KB
testcase_30 AC 45 ms
9,244 KB
testcase_31 AC 47 ms
9,240 KB
testcase_32 AC 45 ms
9,208 KB
testcase_33 AC 46 ms
9,288 KB
testcase_34 AC 47 ms
9,240 KB
testcase_35 AC 16 ms
8,400 KB
testcase_36 AC 16 ms
8,328 KB
testcase_37 AC 17 ms
8,292 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

S = input()
ct = Counter(S)
for k, v in ct.items():
    if v == 1:
        a = k
        break
k = S.index(a) + 1
print(k, a)
0