結果

問題 No.279 木の数え上げ
ユーザー keymoonkeymoon
提出日時 2019-02-23 11:14:07
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 472 bytes
コンパイル時間 3,080 ms
コンパイル使用メモリ 105,332 KB
実行使用メモリ 26,504 KB
最終ジャッジ日時 2023-08-19 11:08:51
合計ジャッジ時間 5,272 ms
ジャッジサーバーID
(参考情報)
judge10 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
21,204 KB
testcase_01 AC 45 ms
23,252 KB
testcase_02 AC 47 ms
21,204 KB
testcase_03 AC 46 ms
21,424 KB
testcase_04 AC 44 ms
19,096 KB
testcase_05 AC 47 ms
21,220 KB
testcase_06 AC 46 ms
21,312 KB
testcase_07 AC 45 ms
23,240 KB
testcase_08 AC 46 ms
21,244 KB
testcase_09 AC 46 ms
23,380 KB
testcase_10 AC 84 ms
24,300 KB
testcase_11 AC 54 ms
21,376 KB
testcase_12 AC 72 ms
23,044 KB
testcase_13 AC 49 ms
21,264 KB
testcase_14 AC 86 ms
24,576 KB
testcase_15 AC 80 ms
26,104 KB
testcase_16 AC 76 ms
23,716 KB
testcase_17 AC 83 ms
24,440 KB
testcase_18 AC 66 ms
22,560 KB
testcase_19 AC 82 ms
22,100 KB
testcase_20 AC 85 ms
26,504 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;

class P
{
    static void Main()
    {
        string s = Console.ReadLine();
        Console.WriteLine(Min(Min(s.Count(x => x == 't'), s.Count(x => x == 'r')), s.Count(x => x == 'e') / 2));
    }
}
0