結果

問題 No.791 うし数列
ユーザー hiro1729hiro1729
提出日時 2023-09-10 20:52:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 96 bytes
コンパイル時間 378 ms
コンパイル使用メモリ 87,168 KB
実行使用メモリ 71,468 KB
最終ジャッジ日時 2023-09-10 20:52:27
合計ジャッジ時間 2,662 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,460 KB
testcase_01 AC 72 ms
71,440 KB
testcase_02 WA -
testcase_03 AC 71 ms
71,112 KB
testcase_04 AC 72 ms
71,220 KB
testcase_05 AC 73 ms
71,416 KB
testcase_06 AC 78 ms
70,976 KB
testcase_07 AC 71 ms
71,276 KB
testcase_08 AC 72 ms
71,196 KB
testcase_09 AC 72 ms
71,256 KB
testcase_10 AC 72 ms
71,116 KB
testcase_11 AC 71 ms
71,084 KB
testcase_12 AC 74 ms
71,240 KB
testcase_13 AC 72 ms
71,452 KB
testcase_14 AC 70 ms
71,468 KB
testcase_15 AC 71 ms
71,196 KB
testcase_16 AC 73 ms
71,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
if s[0] == '1' and all(i == '3' for i in s[1:]):
	print(len(s) - 1)
else:
	print(-1)
0