結果

問題 No.791 うし数列
ユーザー buriburi
提出日時 2019-10-12 19:57:55
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 238 bytes
コンパイル時間 234 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-11-29 02:06:36
合計ジャッジ時間 1,702 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

x = input()
if x == 1:
    print(0)
else:
    c = p
    t = True
    for i in x:
        if i == 3:
            c = c + 1
        else:
            t = False
            print(-1)
            break
    if t:
        print(c)
        
    
0