結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー gorugo30gorugo30
提出日時 2021-01-22 21:26:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 1,000 ms
コード長 166 bytes
コンパイル時間 422 ms
コンパイル使用メモリ 87,216 KB
実行使用メモリ 77,068 KB
最終ジャッジ日時 2023-08-27 17:16:49
合計ジャッジ時間 4,495 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,248 KB
testcase_01 AC 62 ms
71,156 KB
testcase_02 AC 62 ms
71,512 KB
testcase_03 AC 63 ms
71,192 KB
testcase_04 AC 64 ms
71,156 KB
testcase_05 AC 65 ms
71,172 KB
testcase_06 AC 68 ms
71,088 KB
testcase_07 AC 65 ms
71,144 KB
testcase_08 AC 63 ms
71,208 KB
testcase_09 AC 64 ms
71,408 KB
testcase_10 AC 62 ms
71,312 KB
testcase_11 AC 65 ms
71,376 KB
testcase_12 AC 65 ms
71,380 KB
testcase_13 AC 69 ms
76,428 KB
testcase_14 AC 64 ms
76,360 KB
testcase_15 AC 64 ms
75,808 KB
testcase_16 AC 64 ms
76,216 KB
testcase_17 AC 67 ms
76,836 KB
testcase_18 AC 67 ms
76,032 KB
testcase_19 AC 71 ms
76,572 KB
testcase_20 AC 70 ms
76,544 KB
testcase_21 AC 69 ms
76,256 KB
testcase_22 AC 69 ms
76,588 KB
testcase_23 AC 69 ms
76,824 KB
testcase_24 AC 77 ms
76,976 KB
testcase_25 AC 73 ms
76,700 KB
testcase_26 AC 71 ms
76,604 KB
testcase_27 AC 70 ms
76,932 KB
testcase_28 AC 70 ms
76,700 KB
testcase_29 AC 72 ms
76,768 KB
testcase_30 AC 73 ms
76,600 KB
testcase_31 AC 73 ms
77,068 KB
testcase_32 AC 72 ms
76,868 KB
testcase_33 AC 73 ms
76,612 KB
testcase_34 AC 68 ms
72,188 KB
testcase_35 AC 67 ms
71,392 KB
testcase_36 AC 65 ms
71,248 KB
testcase_37 AC 63 ms
71,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
c0 = S.count(S[0])
if c0 == 1:
    print(1, S[0])
    exit()
for i in range(1, len(S)):
    if S[i] != S[i - 1]:
        print(i + 1, S[i])
        exit()
0