結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー titiatitia
提出日時 2021-01-22 21:30:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 51 ms / 1,000 ms
コード長 173 bytes
コンパイル時間 385 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 9,376 KB
最終ジャッジ日時 2023-08-27 17:35:04
合計ジャッジ時間 3,111 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,312 KB
testcase_01 AC 17 ms
8,248 KB
testcase_02 AC 18 ms
8,368 KB
testcase_03 AC 18 ms
8,372 KB
testcase_04 AC 18 ms
8,328 KB
testcase_05 AC 17 ms
8,244 KB
testcase_06 AC 18 ms
8,392 KB
testcase_07 AC 18 ms
8,440 KB
testcase_08 AC 17 ms
8,328 KB
testcase_09 AC 18 ms
8,396 KB
testcase_10 AC 18 ms
8,380 KB
testcase_11 AC 18 ms
8,436 KB
testcase_12 AC 17 ms
8,252 KB
testcase_13 AC 45 ms
9,088 KB
testcase_14 AC 43 ms
9,372 KB
testcase_15 AC 21 ms
8,420 KB
testcase_16 AC 30 ms
8,688 KB
testcase_17 AC 47 ms
9,132 KB
testcase_18 AC 33 ms
8,816 KB
testcase_19 AC 50 ms
9,332 KB
testcase_20 AC 38 ms
8,916 KB
testcase_21 AC 35 ms
8,804 KB
testcase_22 AC 45 ms
9,144 KB
testcase_23 AC 51 ms
9,284 KB
testcase_24 AC 50 ms
9,332 KB
testcase_25 AC 51 ms
9,368 KB
testcase_26 AC 50 ms
9,216 KB
testcase_27 AC 50 ms
9,220 KB
testcase_28 AC 50 ms
9,312 KB
testcase_29 AC 50 ms
9,232 KB
testcase_30 AC 50 ms
9,244 KB
testcase_31 AC 49 ms
9,220 KB
testcase_32 AC 51 ms
9,376 KB
testcase_33 AC 50 ms
9,372 KB
testcase_34 AC 50 ms
9,232 KB
testcase_35 AC 17 ms
8,456 KB
testcase_36 AC 17 ms
8,472 KB
testcase_37 AC 17 ms
8,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

from collections import Counter

S=input().strip()
C=Counter(S)

for c in C:
    if C[c]==1:
        ANS=c

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