結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー vwxyzvwxyz
提出日時 2022-09-06 17:54:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 240 bytes
コンパイル時間 1,118 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 10,684 KB
最終ジャッジ日時 2023-08-14 00:47:12
合計ジャッジ時間 6,186 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
9,644 KB
testcase_01 AC 27 ms
9,552 KB
testcase_02 AC 25 ms
9,528 KB
testcase_03 AC 25 ms
9,556 KB
testcase_04 AC 25 ms
9,512 KB
testcase_05 AC 24 ms
9,704 KB
testcase_06 AC 25 ms
9,584 KB
testcase_07 AC 25 ms
9,576 KB
testcase_08 AC 25 ms
9,596 KB
testcase_09 AC 26 ms
9,588 KB
testcase_10 AC 26 ms
9,512 KB
testcase_11 AC 26 ms
9,520 KB
testcase_12 AC 26 ms
9,692 KB
testcase_13 AC 101 ms
10,360 KB
testcase_14 AC 97 ms
10,148 KB
testcase_15 AC 36 ms
9,600 KB
testcase_16 AC 60 ms
9,940 KB
testcase_17 AC 108 ms
10,392 KB
testcase_18 AC 73 ms
9,896 KB
testcase_19 AC 111 ms
10,396 KB
testcase_20 AC 85 ms
9,812 KB
testcase_21 AC 74 ms
10,216 KB
testcase_22 AC 99 ms
10,684 KB
testcase_23 AC 119 ms
10,496 KB
testcase_24 AC 120 ms
10,356 KB
testcase_25 AC 122 ms
10,336 KB
testcase_26 AC 116 ms
10,492 KB
testcase_27 AC 119 ms
10,484 KB
testcase_28 AC 121 ms
10,356 KB
testcase_29 AC 127 ms
10,440 KB
testcase_30 AC 116 ms
10,484 KB
testcase_31 AC 116 ms
10,496 KB
testcase_32 AC 123 ms
10,540 KB
testcase_33 AC 118 ms
10,528 KB
testcase_34 AC 114 ms
10,536 KB
testcase_35 AC 25 ms
9,668 KB
testcase_36 AC 25 ms
9,600 KB
testcase_37 AC 25 ms
9,604 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from typing import Counter
readline=sys.stdin.readline
write=sys.stdout.write

S=readline().rstrip()
for s,c in Counter(S).items():
    if c==1:
        for i in range(len(S)):
            if S[i]==s:
                print(i+1,s)
0