結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー lllllll88938494lllllll88938494
提出日時 2022-01-12 22:57:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 1,000 ms
コード長 199 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 82,424 KB
実行使用メモリ 76,552 KB
最終ジャッジ日時 2024-04-27 13:25:10
合計ジャッジ時間 4,409 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,400 KB
testcase_01 AC 39 ms
52,336 KB
testcase_02 AC 41 ms
53,088 KB
testcase_03 AC 39 ms
52,592 KB
testcase_04 AC 40 ms
52,276 KB
testcase_05 AC 39 ms
53,020 KB
testcase_06 AC 38 ms
52,456 KB
testcase_07 AC 40 ms
53,316 KB
testcase_08 AC 39 ms
52,276 KB
testcase_09 AC 40 ms
53,568 KB
testcase_10 AC 40 ms
52,936 KB
testcase_11 AC 39 ms
52,596 KB
testcase_12 AC 40 ms
52,268 KB
testcase_13 AC 76 ms
75,532 KB
testcase_14 AC 73 ms
75,600 KB
testcase_15 AC 47 ms
65,028 KB
testcase_16 AC 61 ms
75,868 KB
testcase_17 AC 78 ms
75,884 KB
testcase_18 AC 66 ms
75,480 KB
testcase_19 AC 79 ms
76,328 KB
testcase_20 AC 68 ms
76,224 KB
testcase_21 AC 66 ms
75,868 KB
testcase_22 AC 75 ms
75,900 KB
testcase_23 AC 81 ms
76,084 KB
testcase_24 AC 80 ms
76,552 KB
testcase_25 AC 80 ms
76,144 KB
testcase_26 AC 79 ms
75,820 KB
testcase_27 AC 81 ms
76,020 KB
testcase_28 AC 80 ms
76,524 KB
testcase_29 AC 79 ms
76,104 KB
testcase_30 AC 79 ms
75,948 KB
testcase_31 AC 78 ms
76,088 KB
testcase_32 AC 78 ms
76,180 KB
testcase_33 AC 80 ms
76,228 KB
testcase_34 AC 79 ms
76,136 KB
testcase_35 AC 39 ms
53,148 KB
testcase_36 AC 39 ms
53,484 KB
testcase_37 AC 38 ms
53,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
dic={}
for i in range(len(s)):
    if s[i] not in dic:
        dic[s[i]] = [1,i+1]
    else:
        dic[s[i]][0] += 1
        
for k,v in dic.items():
    if v[0]==1:
        print(v[1],k)
0