結果
| 問題 |
No.430 文字列検索
|
| コンテスト | |
| ユーザー |
yaoshimax
|
| 提出日時 | 2016-10-02 23:17:11 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 116 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-10 00:03:42 |
| 合計ジャッジ時間 | 11,864 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 5 WA * 9 |
ソースコード
S=raw_input()
M=int(raw_input())
ans=0
for i in range(M):
C=raw_input()
ans+=S.count(C)
print ans
yaoshimax