結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー NatsubiSoganNatsubiSogan
提出日時 2021-01-22 21:35:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 119 ms / 1,000 ms
コード長 115 bytes
コンパイル時間 498 ms
コンパイル使用メモリ 86,784 KB
実行使用メモリ 78,012 KB
最終ジャッジ日時 2023-08-27 17:47:06
合計ジャッジ時間 5,692 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
71,048 KB
testcase_01 AC 85 ms
71,228 KB
testcase_02 AC 83 ms
71,468 KB
testcase_03 AC 84 ms
71,496 KB
testcase_04 AC 84 ms
71,048 KB
testcase_05 AC 81 ms
71,160 KB
testcase_06 AC 81 ms
71,408 KB
testcase_07 AC 82 ms
71,404 KB
testcase_08 AC 83 ms
71,268 KB
testcase_09 AC 82 ms
71,156 KB
testcase_10 AC 84 ms
71,504 KB
testcase_11 AC 85 ms
71,436 KB
testcase_12 AC 82 ms
71,236 KB
testcase_13 AC 112 ms
77,264 KB
testcase_14 AC 108 ms
76,920 KB
testcase_15 AC 91 ms
76,568 KB
testcase_16 AC 98 ms
76,668 KB
testcase_17 AC 110 ms
77,404 KB
testcase_18 AC 99 ms
77,128 KB
testcase_19 AC 113 ms
77,576 KB
testcase_20 AC 106 ms
77,144 KB
testcase_21 AC 107 ms
77,180 KB
testcase_22 AC 113 ms
77,660 KB
testcase_23 AC 119 ms
77,424 KB
testcase_24 AC 119 ms
77,784 KB
testcase_25 AC 118 ms
77,864 KB
testcase_26 AC 117 ms
77,488 KB
testcase_27 AC 117 ms
77,428 KB
testcase_28 AC 119 ms
77,956 KB
testcase_29 AC 117 ms
77,940 KB
testcase_30 AC 115 ms
77,600 KB
testcase_31 AC 116 ms
78,012 KB
testcase_32 AC 116 ms
77,444 KB
testcase_33 AC 117 ms
77,676 KB
testcase_34 AC 115 ms
77,432 KB
testcase_35 AC 87 ms
71,476 KB
testcase_36 AC 88 ms
71,520 KB
testcase_37 AC 87 ms
71,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
s = input()
c = Counter(s).most_common()
ans = c[1][0]
print(s.index(ans) + 1, ans)
0