結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,172 KB
testcase_01 AC 72 ms
71,128 KB
testcase_02 AC 70 ms
71,096 KB
testcase_03 AC 68 ms
70,944 KB
testcase_04 AC 71 ms
71,128 KB
testcase_05 AC 69 ms
70,972 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 72 ms
71,212 KB
testcase_09 AC 68 ms
71,256 KB
testcase_10 AC 70 ms
71,132 KB
testcase_11 AC 68 ms
71,372 KB
testcase_12 AC 68 ms
71,120 KB
testcase_13 AC 70 ms
71,176 KB
testcase_14 AC 68 ms
70,976 KB
testcase_15 AC 74 ms
71,080 KB
testcase_16 AC 70 ms
71,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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