結果

問題 No.436 ccw
ユーザー 👑 KazunKazun
提出日時 2021-01-07 19:21:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 58 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 87,108 KB
実行使用メモリ 71,636 KB
最終ジャッジ日時 2023-08-08 19:43:36
合計ジャッジ時間 3,414 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
71,252 KB
testcase_01 AC 58 ms
71,636 KB
testcase_02 AC 58 ms
71,356 KB
testcase_03 AC 60 ms
71,368 KB
testcase_04 AC 62 ms
71,076 KB
testcase_05 AC 58 ms
71,196 KB
testcase_06 AC 59 ms
71,452 KB
testcase_07 AC 59 ms
71,328 KB
testcase_08 AC 60 ms
71,432 KB
testcase_09 AC 58 ms
71,420 KB
testcase_10 AC 59 ms
71,552 KB
testcase_11 AC 59 ms
71,412 KB
testcase_12 AC 58 ms
71,412 KB
testcase_13 AC 61 ms
71,256 KB
testcase_14 AC 59 ms
71,452 KB
testcase_15 AC 58 ms
71,336 KB
testcase_16 AC 59 ms
71,484 KB
testcase_17 AC 58 ms
71,260 KB
testcase_18 AC 59 ms
71,372 KB
testcase_19 AC 59 ms
71,252 KB
testcase_20 AC 58 ms
71,196 KB
testcase_21 AC 59 ms
71,364 KB
testcase_22 AC 59 ms
71,436 KB
testcase_23 AC 60 ms
71,336 KB
testcase_24 AC 58 ms
71,248 KB
testcase_25 AC 59 ms
71,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()

c=S.count("c")
w=S.count("w")
print(min(c-1,w))
0