Submission #64679


ソースコード

1
2
3
4
5
6
n,w=input().split()
n=int(n)
a=0
for _ in range(n):
a+=list(input().split()).count(w)
print(a)

ステータス

項目 データ
問題 0003 - 聖書
ユーザー名 ir_1st_vil
投稿日時 2020-11-10 14:12:22
言語 Python3
状態 Accepted
得点 5
ソースコード長 101 Byte
最大実行時間 42 ms
最大メモリ使用量 3268 KB

セット

セット 得点 Cases
1 ALL 3 / 3 *
2 SUB1 1 / 1 Alice_in1.txt
3 SUB2 1 / 1 Alice_in2.txt

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
Alice_in1.txt AC 37 ms 3268 KB
1
2
Alice_in2.txt AC 42 ms 3168 KB
1
3
Alice_in3.txt AC 31 ms 3064 KB
1