結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー roarisroaris
提出日時 2021-01-23 18:19:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 128 ms / 1,000 ms
コード長 231 bytes
コンパイル時間 1,174 ms
コンパイル使用メモリ 87,192 KB
実行使用メモリ 78,488 KB
最終ジャッジ日時 2023-08-30 02:53:58
合計ジャッジ時間 6,309 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
71,584 KB
testcase_01 AC 91 ms
71,524 KB
testcase_02 AC 90 ms
71,880 KB
testcase_03 AC 93 ms
71,392 KB
testcase_04 AC 90 ms
71,696 KB
testcase_05 AC 91 ms
71,604 KB
testcase_06 AC 94 ms
71,704 KB
testcase_07 AC 91 ms
71,880 KB
testcase_08 AC 91 ms
71,700 KB
testcase_09 AC 91 ms
71,532 KB
testcase_10 AC 90 ms
71,600 KB
testcase_11 AC 90 ms
71,528 KB
testcase_12 AC 92 ms
71,392 KB
testcase_13 AC 119 ms
78,148 KB
testcase_14 AC 116 ms
77,492 KB
testcase_15 AC 101 ms
77,136 KB
testcase_16 AC 109 ms
77,248 KB
testcase_17 AC 123 ms
78,352 KB
testcase_18 AC 108 ms
77,508 KB
testcase_19 AC 125 ms
78,224 KB
testcase_20 AC 117 ms
77,616 KB
testcase_21 AC 112 ms
77,356 KB
testcase_22 AC 120 ms
78,356 KB
testcase_23 AC 122 ms
78,392 KB
testcase_24 AC 128 ms
78,432 KB
testcase_25 AC 126 ms
78,260 KB
testcase_26 AC 127 ms
78,488 KB
testcase_27 AC 127 ms
78,356 KB
testcase_28 AC 125 ms
78,312 KB
testcase_29 AC 127 ms
78,428 KB
testcase_30 AC 126 ms
78,484 KB
testcase_31 AC 126 ms
78,248 KB
testcase_32 AC 124 ms
78,400 KB
testcase_33 AC 127 ms
78,264 KB
testcase_34 AC 128 ms
78,136 KB
testcase_35 AC 91 ms
71,728 KB
testcase_36 AC 94 ms
71,800 KB
testcase_37 AC 94 ms
71,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
from collections import *

S = input()[:-1]
cnt = Counter(S)

for k in cnt:
    if cnt[k]==1:
        mark = k

for i in range(len(S)):
    if S[i]==mark:
        print(i+1, mark)
        break
0