結果
| 問題 |
No.2298 yukicounter
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-13 18:55:44 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 275 bytes |
| コンパイル時間 | 215 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 12,664 KB |
| 最終ジャッジ日時 | 2024-11-29 10:31:10 |
| 合計ジャッジ時間 | 2,392 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 RE * 1 |
| other | AC * 4 WA * 26 |
ソースコード
s = input()
idx = 0
num = 0
su = 0
while 1:
try:
ik = s.index("yukicoder", idx)
fd = 1
if ik - idx == 9:
num += 1
su = max(su)
else:
num = 0
idx = ik + 1
except:
break
print(su + fd)