結果
問題 | No.2298 yukicounter |
ユーザー |
|
提出日時 | 2023-05-13 18:25:30 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 280 bytes |
コンパイル時間 | 196 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 12,408 KB |
最終ジャッジ日時 | 2024-11-29 10:09:37 |
合計ジャッジ時間 | 3,071 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 3 WA * 27 |
ソースコード
s = input()idx = 0num = 0su = 0while 1:try:ik = s.index("yukicoder", idx + 1)print(idx)if ik - idx == 9:num += 1su = max(su, num)else:num = 0idx = ikexcept:breakprint(su+1)