結果

問題 No.331 CodeRunnerでやれ
ユーザー くれちーくれちー
提出日時 2017-07-28 00:38:27
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 942 bytes
コンパイル時間 1,776 ms
コンパイル使用メモリ 105,772 KB
実行使用メモリ 103,176 KB
平均クエリ数 776.41
最終ジャッジ日時 2023-09-24 01:26:57
合計ジャッジ時間 12,825 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 182 ms
40,444 KB
testcase_01 AC 186 ms
38,712 KB
testcase_02 AC 231 ms
38,332 KB
testcase_03 AC 194 ms
38,904 KB
testcase_04 AC 242 ms
40,452 KB
testcase_05 AC 232 ms
36,500 KB
testcase_06 AC 194 ms
38,988 KB
testcase_07 AC 622 ms
38,896 KB
testcase_08 AC 329 ms
39,108 KB
testcase_09 AC 601 ms
41,096 KB
testcase_10 AC 296 ms
22,764 KB
testcase_11 TLE -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using static System.Console;
using static System.Convert;
using static System.Math;
using static Extentions;

static class Extentions
{
}

static class Program
{
    public static void Main()
    {
        var sw = new StreamWriter(OpenStandardOutput()) { NewLine = "\n" };
        sw.AutoFlush = true;
        SetOut(sw);
        Solve();
    }

    static void Solve()
    {
        var rand = new Random();
        string s;

        while ((s = ReadLine())[0] != 'M')
        {
            var n = int.Parse(s);
            if (n == 20151224)  WriteLine('F');
            else if (n == 0 || rand.Next() % 7 == 0)
            {
                if (rand.Next() % 2 == 0) WriteLine('L');
                else WriteLine('R');
            }
            else WriteLine('F');
        }
    }
}
0