結果
| 問題 | No.791 うし数列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-18 13:43:56 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| + 898µs | |
| コード長 | 148 bytes |
| 記録 | |
| コンパイル時間 | 231 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 78,848 KB |
| 最終ジャッジ日時 | 2026-08-01 15:36:40 |
| 合計ジャッジ時間 | 2,459 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)