結果

問題 No.331 CodeRunnerでやれ
ユーザー くれちーくれちー
提出日時 2017-07-28 00:37:54
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 918 bytes
コンパイル時間 3,854 ms
コンパイル使用メモリ 102,496 KB
実行使用メモリ 38,416 KB
平均クエリ数 4.35
最終ジャッジ日時 2023-09-24 01:26:19
合計ジャッジ時間 12,574 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 213 ms
37,152 KB
testcase_01 AC 216 ms
38,416 KB
testcase_02 AC 231 ms
24,628 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
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)
            {
                if (rand.Next() % 2 == 0) WriteLine('L');
                else WriteLine('R');
            }
            else WriteLine('F');
        }
    }
}
0