結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー yuusanlondonyuusanlondon
提出日時 2021-01-22 23:03:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 114 ms / 1,000 ms
コード長 164 bytes
コンパイル時間 2,187 ms
コンパイル使用メモリ 86,780 KB
実行使用メモリ 77,336 KB
最終ジャッジ日時 2023-08-27 21:41:48
合計ジャッジ時間 7,615 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,464 KB
testcase_01 AC 76 ms
71,328 KB
testcase_02 AC 75 ms
71,416 KB
testcase_03 AC 75 ms
71,236 KB
testcase_04 AC 76 ms
71,360 KB
testcase_05 AC 74 ms
71,488 KB
testcase_06 AC 74 ms
71,364 KB
testcase_07 AC 75 ms
71,384 KB
testcase_08 AC 74 ms
71,212 KB
testcase_09 AC 73 ms
71,564 KB
testcase_10 AC 73 ms
71,360 KB
testcase_11 AC 75 ms
71,172 KB
testcase_12 AC 76 ms
71,208 KB
testcase_13 AC 114 ms
76,992 KB
testcase_14 AC 103 ms
77,256 KB
testcase_15 AC 81 ms
75,988 KB
testcase_16 AC 93 ms
76,836 KB
testcase_17 AC 110 ms
77,216 KB
testcase_18 AC 96 ms
76,768 KB
testcase_19 AC 109 ms
77,280 KB
testcase_20 AC 101 ms
77,260 KB
testcase_21 AC 97 ms
76,824 KB
testcase_22 AC 105 ms
77,128 KB
testcase_23 AC 112 ms
77,252 KB
testcase_24 AC 113 ms
77,028 KB
testcase_25 AC 114 ms
77,296 KB
testcase_26 AC 112 ms
77,272 KB
testcase_27 AC 112 ms
77,300 KB
testcase_28 AC 111 ms
77,208 KB
testcase_29 AC 111 ms
77,336 KB
testcase_30 AC 111 ms
77,312 KB
testcase_31 AC 113 ms
77,148 KB
testcase_32 AC 110 ms
77,184 KB
testcase_33 AC 109 ms
77,116 KB
testcase_34 AC 110 ms
77,036 KB
testcase_35 AC 71 ms
71,548 KB
testcase_36 AC 73 ms
71,268 KB
testcase_37 AC 74 ms
71,292 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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