結果
| 問題 |
No.331 CodeRunnerでやれ
|
| コンテスト | |
| ユーザー |
くれちー
|
| 提出日時 | 2017-07-28 00:41:23 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 2,592 ms / 5,000 ms |
| コード長 | 942 bytes |
| コンパイル時間 | 1,147 ms |
| コンパイル使用メモリ | 109,740 KB |
| 実行使用メモリ | 43,320 KB |
| 平均クエリ数 | 5066.00 |
| 最終ジャッジ日時 | 2024-07-17 01:22:36 |
| 合計ジャッジ時間 | 21,117 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 16 |
ソースコード
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');
}
}
}
くれちー