結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー NatsubiSogan
提出日時 2021-01-22 21:35:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 84 ms / 1,000 ms
コード長 115 bytes
コンパイル時間 419 ms
コンパイル使用メモリ 82,084 KB
実行使用メモリ 76,136 KB
最終ジャッジ日時 2024-12-27 22:03:54
合計ジャッジ時間 4,308 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 38
権限があれば一括ダウンロードができます

ソースコード

diff #

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