結果
| 問題 |
No.436 ccw
|
| コンテスト | |
| ユーザー |
Mew_1406
|
| 提出日時 | 2016-11-19 11:28:55 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 97 bytes |
| コンパイル時間 | 1,103 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2024-11-26 21:36:06 |
| 合計ジャッジ時間 | 1,884 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 WA * 1 |
ソースコード
s=raw_input()
if s=="ccw":
print("0")
exit()
print(str(min(s.count("c")-1,s.count("w"))))
Mew_1406