結果

問題 No.304 鍵(1)
ユーザー nanophoto12nanophoto12
提出日時 2015-12-06 11:07:48
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 338 bytes
コンパイル時間 2,111 ms
コンパイル使用メモリ 102,200 KB
実行使用メモリ 46,956 KB
最終ジャッジ日時 2023-09-23 22:16:59
合計ジャッジ時間 8,461 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace No304
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			var n = Convert.ToInt32(Console.ReadLine ());
			while (true) {
				var k = Convert.ToInt32(Console.ReadLine ());
				if (k == n) {
					Console.WriteLine ("unlocked");
					return;
				}
				Console.WriteLine ("locked");
			}
		}
	}
}
0