結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,020 KB
testcase_01 AC 72 ms
71,304 KB
testcase_02 AC 72 ms
70,968 KB
testcase_03 AC 70 ms
71,060 KB
testcase_04 AC 70 ms
71,060 KB
testcase_05 AC 70 ms
71,128 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 68 ms
71,036 KB
testcase_09 AC 69 ms
70,976 KB
testcase_10 AC 70 ms
70,972 KB
testcase_11 AC 68 ms
71,220 KB
testcase_12 AC 69 ms
71,072 KB
testcase_13 AC 71 ms
71,260 KB
testcase_14 AC 71 ms
71,380 KB
testcase_15 AC 70 ms
70,972 KB
testcase_16 AC 70 ms
71,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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