結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 193 ms
40,616 KB
testcase_01 AC 225 ms
38,584 KB
testcase_02 AC 286 ms
38,960 KB
testcase_03 AC 256 ms
36,920 KB
testcase_04 AC 211 ms
38,468 KB
testcase_05 AC 376 ms
38,496 KB
testcase_06 AC 291 ms
40,760 KB
testcase_07 AC 434 ms
38,500 KB
testcase_08 AC 391 ms
38,472 KB
testcase_09 AC 525 ms
40,496 KB
testcase_10 AC 257 ms
38,920 KB
testcase_11 AC 1,560 ms
38,808 KB
testcase_12 AC 713 ms
22,840 KB
testcase_13 AC 1,849 ms
40,660 KB
testcase_14 AC 1,917 ms
38,472 KB
testcase_15 AC 1,253 ms
24,756 KB
testcase_16 TLE -
権限があれば一括ダウンロードができます

ソースコード

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() % 4 == 0)
            {
                if (rand.Next() % 2 == 0) WriteLine('L');
                else WriteLine('R');
            }
            else WriteLine('F');
        }
    }
}
0