結果
| 問題 |
No.304 鍵(1)
|
| コンテスト | |
| ユーザー |
nanophoto12
|
| 提出日時 | 2015-12-06 11:07:48 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 338 bytes |
| コンパイル時間 | 2,132 ms |
| コンパイル使用メモリ | 109,944 KB |
| 実行使用メモリ | 53,888 KB |
| 最終ジャッジ日時 | 2024-07-16 22:00:48 |
| 合計ジャッジ時間 | 7,428 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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