結果
| 問題 | No.430 文字列検索 |
| コンテスト | |
| ユーザー |
burita083
|
| 提出日時 | 2021-07-17 09:43:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 165 bytes |
| 記録 | |
| コンパイル時間 | 598 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 16,000 KB |
| 最終ジャッジ日時 | 2024-11-10 00:57:07 |
| 合計ジャッジ時間 | 3,573 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 4 |
| other | AC * 1 TLE * 1 -- * 12 |
ソースコード
S = input()
M = int(input())
ans = 0
for _ in range(M):
C = input()
l = len(C)
for i in range(len(S)-l+1):
if S[i:i+l] == C:
ans += 1
print(ans)
burita083