結果
問題 | No.304 鍵(1) |
ユーザー |
|
提出日時 | 2017-10-31 06:50:09 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 595 bytes |
コンパイル時間 | 1,124 ms |
コンパイル使用メモリ | 107,616 KB |
実行使用メモリ | 43,088 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-07-16 14:15:43 |
合計ジャッジ時間 | 2,582 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 5 |
コンパイルメッセージ
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() );while (reader.ReadLine() == "Unlocked") {Console.WriteLine( GetNumber() );}}private static void Main() {Solver( Console.In );}}}