結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー kyo1kyo1
提出日時 2021-01-23 23:19:38
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 133 ms / 1,000 ms
コード長 155 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 10,736 KB
実行使用メモリ 9,484 KB
最終ジャッジ日時 2023-08-30 08:57:31
合計ジャッジ時間 4,837 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,392 KB
testcase_01 AC 18 ms
8,332 KB
testcase_02 AC 18 ms
8,328 KB
testcase_03 AC 18 ms
8,396 KB
testcase_04 AC 18 ms
8,364 KB
testcase_05 AC 18 ms
8,440 KB
testcase_06 AC 18 ms
8,404 KB
testcase_07 AC 18 ms
8,320 KB
testcase_08 AC 18 ms
8,356 KB
testcase_09 AC 18 ms
8,284 KB
testcase_10 AC 19 ms
8,416 KB
testcase_11 AC 19 ms
8,404 KB
testcase_12 AC 19 ms
8,320 KB
testcase_13 AC 64 ms
9,044 KB
testcase_14 AC 47 ms
9,484 KB
testcase_15 AC 28 ms
8,408 KB
testcase_16 AC 32 ms
8,584 KB
testcase_17 AC 100 ms
9,196 KB
testcase_18 AC 60 ms
8,828 KB
testcase_19 AC 118 ms
9,252 KB
testcase_20 AC 78 ms
9,272 KB
testcase_21 AC 49 ms
8,800 KB
testcase_22 AC 48 ms
9,208 KB
testcase_23 AC 64 ms
9,272 KB
testcase_24 AC 133 ms
9,360 KB
testcase_25 AC 100 ms
9,204 KB
testcase_26 AC 96 ms
9,356 KB
testcase_27 AC 55 ms
9,300 KB
testcase_28 AC 71 ms
9,280 KB
testcase_29 AC 115 ms
9,408 KB
testcase_30 AC 113 ms
9,244 KB
testcase_31 AC 127 ms
9,356 KB
testcase_32 AC 113 ms
9,340 KB
testcase_33 AC 133 ms
9,200 KB
testcase_34 AC 51 ms
9,288 KB
testcase_35 AC 18 ms
8,460 KB
testcase_36 AC 19 ms
8,436 KB
testcase_37 AC 18 ms
8,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections

S = input()
counter = collections.Counter(S)

for i, s in enumerate(S):
    if counter[s] == 1:
        print(i + 1, s)
        exit()
0