結果
| 問題 | No.436 ccw |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2016-11-02 07:12:42 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 808µs | |
| コード長 | 145 bytes |
| 記録 | |
| コンパイル時間 | 63 ms |
| コンパイル使用メモリ | 83,144 KB |
| 実行使用メモリ | 56,496 KB |
| 最終ジャッジ日時 | 2026-09-29 14:03:24 |
| 合計ジャッジ時間 | 2,532 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 24 |
ソースコード
def solve():
s = input()
idx = s.index("cw")
idx2 = len(s) - idx - 1
print(min(idx, idx2))
if __name__=="__main__":
solve()