結果
| 問題 |
No.436 ccw
|
| コンテスト | |
| ユーザー |
iad_2889
|
| 提出日時 | 2019-05-18 16:59:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 176 bytes |
| コンパイル時間 | 221 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 17,952 KB |
| 最終ジャッジ日時 | 2024-09-17 06:13:06 |
| 合計ジャッジ時間 | 7,140 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 TLE * 2 -- * 2 |
ソースコード
S = input()
s = S
cnt = 0
while "ccw" in s:
idx = s.index("ccw")
cnt+=1
if len(s) // 2 - 2 < idx:
s = s[:-1]
else:
s = s[1:]
print(cnt)
iad_2889