結果
| 問題 |
No.331 CodeRunnerでやれ
|
| コンテスト | |
| ユーザー |
くれちー
|
| 提出日時 | 2017-07-28 00:38:27 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 942 bytes |
| コンパイル時間 | 996 ms |
| コンパイル使用メモリ | 112,500 KB |
| 実行使用メモリ | 109,352 KB |
| 平均クエリ数 | 568.18 |
| 最終ジャッジ日時 | 2024-07-17 01:20:55 |
| 合計ジャッジ時間 | 11,825 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 TLE * 1 -- * 5 |
ソースコード
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');
}
}
}
くれちー