結果
問題 | No.331 CodeRunnerでやれ |
ユーザー |
![]() |
提出日時 | 2017-07-28 00:36:00 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 943 bytes |
コンパイル時間 | 834 ms |
コンパイル使用メモリ | 111,768 KB |
実行使用メモリ | 112,000 KB |
平均クエリ数 | 2345.71 |
最終ジャッジ日時 | 2024-07-17 01:20:41 |
合計ジャッジ時間 | 15,393 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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() % 12 == 0){if (rand.Next() % 2 == 0) WriteLine('L');else WriteLine('R');}else WriteLine('F');}}}