結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー dangodango
提出日時 2023-06-25 09:46:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 101 ms / 1,000 ms
コード長 104 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 91,344 KB
最終ジャッジ日時 2023-09-15 06:55:33
合計ジャッジ時間 5,070 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,288 KB
testcase_01 AC 68 ms
71,360 KB
testcase_02 AC 73 ms
71,364 KB
testcase_03 AC 69 ms
71,476 KB
testcase_04 AC 68 ms
71,156 KB
testcase_05 AC 70 ms
71,332 KB
testcase_06 AC 70 ms
71,632 KB
testcase_07 AC 70 ms
71,304 KB
testcase_08 AC 69 ms
71,468 KB
testcase_09 AC 70 ms
71,600 KB
testcase_10 AC 69 ms
71,160 KB
testcase_11 AC 69 ms
71,584 KB
testcase_12 AC 69 ms
71,136 KB
testcase_13 AC 82 ms
75,392 KB
testcase_14 AC 82 ms
75,040 KB
testcase_15 AC 72 ms
71,740 KB
testcase_16 AC 75 ms
73,284 KB
testcase_17 AC 84 ms
75,876 KB
testcase_18 AC 78 ms
74,128 KB
testcase_19 AC 101 ms
91,080 KB
testcase_20 AC 79 ms
74,072 KB
testcase_21 AC 78 ms
73,852 KB
testcase_22 AC 82 ms
75,332 KB
testcase_23 AC 100 ms
91,052 KB
testcase_24 AC 98 ms
91,196 KB
testcase_25 AC 99 ms
90,988 KB
testcase_26 AC 100 ms
91,344 KB
testcase_27 AC 100 ms
91,056 KB
testcase_28 AC 101 ms
91,000 KB
testcase_29 AC 100 ms
91,028 KB
testcase_30 AC 100 ms
90,856 KB
testcase_31 AC 100 ms
91,312 KB
testcase_32 AC 99 ms
90,944 KB
testcase_33 AC 100 ms
90,988 KB
testcase_34 AC 98 ms
90,924 KB
testcase_35 AC 67 ms
71,132 KB
testcase_36 AC 68 ms
71,580 KB
testcase_37 AC 70 ms
71,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
X, Y = set(S)
if S.count(X) > 1:
  print(S.index(Y) + 1, Y)
else:
  print(S.index(X) + 1, X)
0