結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー U SU S
提出日時 2021-01-22 21:37:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 167 ms / 1,000 ms
コード長 454 bytes
コンパイル時間 1,788 ms
コンパイル使用メモリ 86,944 KB
実行使用メモリ 102,072 KB
最終ジャッジ日時 2023-08-27 17:57:37
合計ジャッジ時間 6,959 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 101 ms
73,136 KB
testcase_01 AC 104 ms
73,068 KB
testcase_02 AC 107 ms
73,240 KB
testcase_03 AC 108 ms
72,976 KB
testcase_04 AC 103 ms
73,364 KB
testcase_05 AC 104 ms
72,768 KB
testcase_06 AC 104 ms
73,032 KB
testcase_07 AC 104 ms
72,984 KB
testcase_08 AC 106 ms
73,284 KB
testcase_09 AC 104 ms
73,168 KB
testcase_10 AC 102 ms
73,188 KB
testcase_11 AC 103 ms
73,236 KB
testcase_12 AC 103 ms
73,416 KB
testcase_13 AC 167 ms
97,740 KB
testcase_14 AC 146 ms
94,252 KB
testcase_15 AC 111 ms
78,000 KB
testcase_16 AC 126 ms
86,784 KB
testcase_17 AC 154 ms
99,740 KB
testcase_18 AC 133 ms
90,240 KB
testcase_19 AC 157 ms
100,852 KB
testcase_20 AC 139 ms
92,116 KB
testcase_21 AC 136 ms
90,132 KB
testcase_22 AC 151 ms
94,868 KB
testcase_23 AC 155 ms
101,872 KB
testcase_24 AC 158 ms
101,660 KB
testcase_25 AC 159 ms
101,824 KB
testcase_26 AC 163 ms
102,072 KB
testcase_27 AC 158 ms
101,924 KB
testcase_28 AC 159 ms
102,004 KB
testcase_29 AC 159 ms
101,820 KB
testcase_30 AC 159 ms
101,920 KB
testcase_31 AC 167 ms
101,680 KB
testcase_32 AC 161 ms
101,924 KB
testcase_33 AC 159 ms
101,800 KB
testcase_34 AC 157 ms
101,628 KB
testcase_35 AC 105 ms
73,364 KB
testcase_36 AC 104 ms
73,280 KB
testcase_37 AC 103 ms
72,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import sys
# input = sys.stdin.readline
def mp():return map(int,input().split())
def lmp():return list(map(int,input().split()))
import math
import bisect
from copy import deepcopy as dc
from itertools import accumulate
from collections import Counter, defaultdict, deque
def ceil(U,V):return (U+V-1)//V
def modf1(N,MOD):return (N-1)%MOD+1

s = list(input())
c = list(Counter(s).items())
c.sort(key=lambda x:x[1])
print(s.index(c[0][0])+1, c[0][0])



0