結果

問題 No.739 大事なことなので2度言います
ユーザー CroweaCrowea
提出日時 2019-01-19 14:17:51
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 403 bytes
コンパイル時間 2,544 ms
コンパイル使用メモリ 101,196 KB
実行使用メモリ 22,468 KB
最終ジャッジ日時 2023-09-23 04:00:18
合計ジャッジ時間 3,348 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
20,564 KB
testcase_01 AC 49 ms
22,468 KB
testcase_02 AC 49 ms
20,652 KB
testcase_03 AC 49 ms
20,392 KB
testcase_04 AC 49 ms
18,320 KB
testcase_05 AC 48 ms
20,632 KB
testcase_06 AC 49 ms
20,452 KB
testcase_07 AC 49 ms
20,356 KB
testcase_08 AC 48 ms
20,468 KB
testcase_09 AC 48 ms
20,448 KB
testcase_10 AC 49 ms
20,384 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace yukicoder
{
    class Program
    {
        static void Main(string[] args)
        {
            var line = Console.ReadLine();
            var len = line.Length / 2;
            var st1 = line.Substring(0, len);
            var st2 = line.Substring(len);
            
            string msg = (st1 == st2) ? "YES" : "NO";
            Console.WriteLine(msg);
        }
    }
}
0