結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,040 KB
testcase_01 AC 77 ms
71,180 KB
testcase_02 AC 77 ms
71,420 KB
testcase_03 AC 77 ms
71,372 KB
testcase_04 AC 76 ms
71,140 KB
testcase_05 AC 78 ms
71,344 KB
testcase_06 AC 76 ms
71,368 KB
testcase_07 AC 76 ms
71,364 KB
testcase_08 AC 77 ms
71,188 KB
testcase_09 AC 75 ms
71,236 KB
testcase_10 AC 78 ms
71,156 KB
testcase_11 AC 76 ms
71,344 KB
testcase_12 AC 76 ms
71,184 KB
testcase_13 AC 77 ms
71,240 KB
testcase_14 AC 79 ms
71,304 KB
testcase_15 AC 76 ms
71,328 KB
testcase_16 AC 76 ms
71,344 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 and s[0]==1 else print(-1)
0