結果
| 問題 |
No.2298 yukicounter
|
| コンテスト | |
| ユーザー |
sasa8uyauya
|
| 提出日時 | 2024-09-13 16:02:24 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 52 ms / 2,000 ms |
| コード長 | 145 bytes |
| コンパイル時間 | 304 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 64,416 KB |
| 最終ジャッジ日時 | 2024-09-13 16:03:40 |
| 合計ジャッジ時間 | 2,827 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
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)
sasa8uyauya