結果
問題 | No.304 鍵(1) |
ユーザー | TaK7907 |
提出日時 | 2017-10-31 08:22:20 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 108 ms / 2,000 ms |
コード長 | 665 bytes |
コンパイル時間 | 3,050 ms |
コンパイル使用メモリ | 105,032 KB |
実行使用メモリ | 38,844 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 01:36:16 |
合計ジャッジ時間 | 4,342 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 72 ms
36,728 KB |
testcase_01 | AC | 73 ms
35,440 KB |
testcase_02 | AC | 108 ms
38,844 KB |
testcase_03 | AC | 75 ms
34,832 KB |
testcase_04 | AC | 89 ms
36,720 KB |
testcase_05 | AC | 74 ms
36,800 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; using System.Linq; namespace yukicodeX { public class ProgramX { static int lastNumber = 0; public static string GetNumber() { return string.Format( "{0:000}", lastNumber++ ); } public static void Solver(System.IO.TextReader reader) { Console.WriteLine( GetNumber() ); Console.Out.Flush(); while (reader.ReadLine() != "unlocked") { Console.WriteLine( GetNumber() ); Console.Out.Flush(); } } private static void Main() { Solver( Console.In ); } } }