結果

問題 No.791 うし数列
ユーザー pypypymipypypymi
提出日時 2022-02-17 17:24:47
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 68 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 71,308 KB
最終ジャッジ日時 2023-09-11 17:45:52
合計ジャッジ時間 2,386 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,248 KB
testcase_01 AC 68 ms
71,088 KB
testcase_02 AC 69 ms
71,224 KB
testcase_03 AC 70 ms
71,084 KB
testcase_04 AC 69 ms
71,308 KB
testcase_05 AC 70 ms
71,308 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 71 ms
71,192 KB
testcase_09 AC 72 ms
71,080 KB
testcase_10 AC 72 ms
71,128 KB
testcase_11 AC 72 ms
71,080 KB
testcase_12 AC 70 ms
71,092 KB
testcase_13 AC 70 ms
71,088 KB
testcase_14 AC 71 ms
71,260 KB
testcase_15 AC 71 ms
71,228 KB
testcase_16 AC 71 ms
71,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()[1:]
print(len(s)) if len(set(list(s)))==1 else print(-1)
0