Submission #62833


ソースコード

1
2
3
4
5
6
nstr,word=input().split()
ans = 0
for j in range(int(nstr)):
k = list(input().split())
ans += k.count(word)
print(ans)

ステータス

項目 データ
問題 0003 - 聖書
ユーザー名 shobonvip
投稿日時 2020-08-21 20:24:33
言語 Python3
状態 Accepted
得点 5
ソースコード長 125 Byte
最大実行時間 54 ms
最大メモリ使用量 3172 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
Alice_in1.txt AC 53 ms 3140 KB
1
2
Alice_in2.txt AC 41 ms 3156 KB
1
3
Alice_in3.txt AC 54 ms 3172 KB
1