結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー kikagekikage
提出日時 2021-08-12 18:10:56
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 66,252 KB
最終ジャッジ日時 2024-04-09 22:05:51
合計ジャッジ時間 5,130 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
10,496 KB
testcase_01 AC 25 ms
10,496 KB
testcase_02 AC 25 ms
10,624 KB
testcase_03 AC 27 ms
10,624 KB
testcase_04 AC 27 ms
10,624 KB
testcase_05 AC 26 ms
10,624 KB
testcase_06 AC 25 ms
10,752 KB
testcase_07 AC 26 ms
10,752 KB
testcase_08 AC 26 ms
10,624 KB
testcase_09 AC 26 ms
10,752 KB
testcase_10 AC 26 ms
10,624 KB
testcase_11 AC 25 ms
10,624 KB
testcase_12 AC 27 ms
10,624 KB
testcase_13 AC 157 ms
56,728 KB
testcase_14 AC 150 ms
53,060 KB
testcase_15 AC 39 ms
15,616 KB
testcase_16 AC 86 ms
31,232 KB
testcase_17 AC 175 ms
62,004 KB
testcase_18 AC 104 ms
38,720 KB
testcase_19 AC 171 ms
64,736 KB
testcase_20 AC 121 ms
43,964 KB
testcase_21 AC 109 ms
39,412 KB
testcase_22 AC 154 ms
55,208 KB
testcase_23 AC 185 ms
66,252 KB
testcase_24 AC 180 ms
66,124 KB
testcase_25 AC 177 ms
66,248 KB
testcase_26 AC 180 ms
66,232 KB
testcase_27 AC 178 ms
66,252 KB
testcase_28 AC 173 ms
66,252 KB
testcase_29 AC 174 ms
66,244 KB
testcase_30 AC 176 ms
66,252 KB
testcase_31 AC 180 ms
66,248 KB
testcase_32 AC 178 ms
66,248 KB
testcase_33 WA -
testcase_34 AC 174 ms
66,248 KB
testcase_35 WA -
testcase_36 AC 27 ms
10,624 KB
testcase_37 AC 27 ms
10,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=list(input())
T=dict([(S[i],i) for i in range(len(S))])
k1=list(T.keys())[0]
k2=list(T.keys())[1]
if T[k1]<T[k2]:print(T[k1]+1,k1)
else:print(T[k2]+1,k2)
0