Submission #71438


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
using namespace std;
int main() {
int a=0,n;
cin>>n;
string w,s;
cin>>w;
while (cin>>s) {
if (w==s) {
a++;
}
}
cout<<a<<"\n";
return(0);
}

ステータス

項目 データ
問題 0003 - 聖書
ユーザー名 r2201
投稿日時 2022-07-22 15:17:25
言語 C++17
状態 Accepted
得点 5
ソースコード長 232 Byte
最大実行時間 30 ms
最大メモリ使用量 600 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
Alice_in1.txt AC 30 ms 600 KB
1
2
Alice_in2.txt AC 21 ms 448 KB
1
3
Alice_in3.txt AC 21 ms 420 KB
1