結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー zyxwzyxw
提出日時 2021-02-02 20:04:42
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 117 ms / 1,000 ms
コード長 161 bytes
コンパイル時間 491 ms
コンパイル使用メモリ 87,252 KB
実行使用メモリ 95,044 KB
最終ジャッジ日時 2023-09-12 11:21:05
合計ジャッジ時間 7,162 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,468 KB
testcase_01 AC 74 ms
71,372 KB
testcase_02 AC 75 ms
71,088 KB
testcase_03 AC 73 ms
71,248 KB
testcase_04 AC 74 ms
71,144 KB
testcase_05 AC 73 ms
71,300 KB
testcase_06 AC 74 ms
71,352 KB
testcase_07 AC 74 ms
71,364 KB
testcase_08 AC 73 ms
71,412 KB
testcase_09 AC 72 ms
71,252 KB
testcase_10 AC 73 ms
71,352 KB
testcase_11 AC 71 ms
71,024 KB
testcase_12 AC 71 ms
71,268 KB
testcase_13 AC 88 ms
78,484 KB
testcase_14 AC 86 ms
78,000 KB
testcase_15 AC 75 ms
72,160 KB
testcase_16 AC 82 ms
74,616 KB
testcase_17 AC 93 ms
79,612 KB
testcase_18 AC 85 ms
75,644 KB
testcase_19 AC 108 ms
94,432 KB
testcase_20 AC 88 ms
76,800 KB
testcase_21 AC 87 ms
75,788 KB
testcase_22 AC 92 ms
78,448 KB
testcase_23 AC 114 ms
95,044 KB
testcase_24 AC 115 ms
95,000 KB
testcase_25 AC 115 ms
94,904 KB
testcase_26 AC 116 ms
94,872 KB
testcase_27 AC 114 ms
94,740 KB
testcase_28 AC 112 ms
94,856 KB
testcase_29 AC 114 ms
94,688 KB
testcase_30 AC 114 ms
94,704 KB
testcase_31 AC 114 ms
94,796 KB
testcase_32 AC 117 ms
94,976 KB
testcase_33 AC 115 ms
94,788 KB
testcase_34 AC 113 ms
95,016 KB
testcase_35 AC 77 ms
71,260 KB
testcase_36 AC 75 ms
71,536 KB
testcase_37 AC 79 ms
71,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=list(input())
data=list(set(S))
a=S.count(data[0])
if a==1:
    print(str(S.index(data[0])+1)+" "+data[0])
else:
    print(str(S.index(data[1])+1)+" "+data[1])
0