結果

問題 No.791 うし数列
ユーザー pypypymi
提出日時 2022-02-18 13:43:23
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 82,388 KB
実行使用メモリ 53,472 KB
最終ジャッジ日時 2024-06-29 08:03:32
合計ジャッジ時間 1,453 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 14 WA * 1
権限があれば一括ダウンロードができます

ソースコード

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