結果
| 問題 | No.304 鍵(1) |
| コンテスト | |
| ユーザー |
nanophoto12
|
| 提出日時 | 2015-12-06 11:07:48 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 338 bytes |
| 記録 | |
| コンパイル時間 | 643 ms |
| コンパイル使用メモリ | 103,680 KB |
| 実行使用メモリ | 64,380 KB |
| 最終ジャッジ日時 | 2026-03-31 19:51:41 |
| 合計ジャッジ時間 | 7,047 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 5 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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");
}
}
}
}
nanophoto12