結果
問題 |
No.2298 yukicounter
|
ユーザー |
![]() |
提出日時 | 2024-09-13 16:00:34 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 143 bytes |
コンパイル時間 | 163 ms |
コンパイル使用メモリ | 81,684 KB |
実行使用メモリ | 65,408 KB |
最終ジャッジ日時 | 2024-09-13 16:01:53 |
合計ジャッジ時間 | 2,712 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 27 WA * 3 |
ソースコード
s=input() n=len(s) s+="#########" t="yukicoder" i=0 a=0 c=0 while i<n: if s[i:i+9]==t: c+=1 i+=9 else: a=max(a,c) c=0 i+=1 print(a)