結果

問題 No.430 文字列検索
ユーザー yaoshimaxyaoshimax
提出日時 2016-10-02 23:17:11
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 116 bytes
コンパイル時間 146 ms
コンパイル使用メモリ 6,584 KB
実行使用メモリ 6,292 KB
最終ジャッジ日時 2023-08-13 17:24:37
合計ジャッジ時間 12,360 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,840 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 10 ms
6,004 KB
testcase_05 AC 10 ms
5,900 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 11 ms
6,160 KB
testcase_09 AC 11 ms
5,988 KB
testcase_10 AC 11 ms
5,868 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 1,509 ms
6,092 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

S=raw_input()
M=int(raw_input())
ans=0
for i in range(M):
    C=raw_input()
    ans+=S.count(C)
print ans
        

0