結果
問題 | No.331 CodeRunnerでやれ |
ユーザー | くれちー |
提出日時 | 2017-07-28 00:40:22 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 942 bytes |
コンパイル時間 | 1,882 ms |
コンパイル使用メモリ | 102,628 KB |
実行使用メモリ | 107,340 KB |
平均クエリ数 | 12375.53 |
最終ジャッジ日時 | 2023-09-24 01:28:04 |
合計ジャッジ時間 | 19,201 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 183 ms
36,752 KB |
testcase_01 | AC | 191 ms
39,000 KB |
testcase_02 | AC | 370 ms
40,316 KB |
testcase_03 | AC | 236 ms
40,368 KB |
testcase_04 | AC | 269 ms
38,636 KB |
testcase_05 | AC | 317 ms
40,212 KB |
testcase_06 | AC | 273 ms
40,636 KB |
testcase_07 | AC | 524 ms
38,936 KB |
testcase_08 | AC | 358 ms
40,884 KB |
testcase_09 | AC | 2,207 ms
38,660 KB |
testcase_10 | AC | 416 ms
38,336 KB |
testcase_11 | AC | 397 ms
40,872 KB |
testcase_12 | AC | 757 ms
38,276 KB |
testcase_13 | AC | 569 ms
38,100 KB |
testcase_14 | AC | 929 ms
37,224 KB |
testcase_15 | AC | 883 ms
38,348 KB |
testcase_16 | TLE | - |
ソースコード
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() % 2 == 0) { if (rand.Next() % 2 == 0) WriteLine('L'); else WriteLine('R'); } else WriteLine('F'); } } }