結果
問題 | No.791 うし数列 |
ユーザー |
|
提出日時 | 2022-02-18 13:43:56 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 148 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 82,532 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-06-29 08:03:34 |
合計ジャッジ時間 | 1,444 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
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 and s[0]==1 else print(-1)