結果

問題 No.331 CodeRunnerでやれ
ユーザー くれちーくれちー
提出日時 2017-07-28 00:36:00
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 943 bytes
コンパイル時間 2,207 ms
コンパイル使用メモリ 104,812 KB
実行使用メモリ 40,676 KB
平均クエリ数 2900.65
最終ジャッジ日時 2023-09-24 01:26:39
合計ジャッジ時間 16,746 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 183 ms
38,880 KB
testcase_01 AC 185 ms
37,092 KB
testcase_02 AC 246 ms
39,012 KB
testcase_03 AC 273 ms
38,448 KB
testcase_04 AC 305 ms
36,880 KB
testcase_05 AC 231 ms
40,676 KB
testcase_06 AC 231 ms
38,836 KB
testcase_07 AC 2,719 ms
38,404 KB
testcase_08 AC 356 ms
38,628 KB
testcase_09 AC 370 ms
39,124 KB
testcase_10 AC 468 ms
22,848 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() % 12 == 0)
            {
                if (rand.Next() % 2 == 0) WriteLine('L');
                else WriteLine('R');
            }
            else WriteLine('F');
        }
    }
}
0