Submission #13174


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
class E
{
public static void Main()
{
var I = Console.ReadLine().Split();
var n = int.Parse(I[0]);
var w = I[1];
var c = 0;
for (var i = 0; i < n; i++)
{
var S = Console.ReadLine().Split();
foreach (var s in S) if (s == w) c++;
}
Console.WriteLine(c);
}
}

ステータス

項目 データ
問題 0003 - 聖書
ユーザー名 selpo
投稿日時 2017-02-28 16:04:28
言語 C#
状態 Accepted
得点 5
ソースコード長 485 Byte
最大実行時間 61 ms
最大メモリ使用量 11096 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
Alice_in1.txt AC 61 ms 9080 KB
1
2
Alice_in2.txt AC 40 ms 8964 KB
1
3
Alice_in3.txt AC 55 ms 11096 KB
1