結果

問題 No.791 うし数列
ユーザー pypypymipypypymi
提出日時 2022-02-18 13:43:23
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 361 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 71,564 KB
最終ジャッジ日時 2023-09-11 18:10:11
合計ジャッジ時間 2,973 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
70,952 KB
testcase_01 AC 77 ms
71,292 KB
testcase_02 AC 77 ms
71,292 KB
testcase_03 AC 77 ms
71,152 KB
testcase_04 AC 77 ms
71,148 KB
testcase_05 AC 79 ms
71,368 KB
testcase_06 WA -
testcase_07 AC 77 ms
71,332 KB
testcase_08 AC 77 ms
71,356 KB
testcase_09 AC 79 ms
71,292 KB
testcase_10 AC 77 ms
71,000 KB
testcase_11 AC 78 ms
71,252 KB
testcase_12 AC 77 ms
71,408 KB
testcase_13 AC 77 ms
71,236 KB
testcase_14 AC 77 ms
71,292 KB
testcase_15 AC 78 ms
71,168 KB
testcase_16 AC 77 ms
71,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = list(map(int,list(input())))
s_three = s[1:]
print(len(s_three)) if len(set(s_three))==1 and list(set(s_three))[0]==3 else print(-1)
0