結果

問題 No.739 大事なことなので2度言います
ユーザー Kaz_nlKaz_nl
提出日時 2018-12-27 20:40:02
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 222 bytes
コンパイル時間 858 ms
コンパイル使用メモリ 107,324 KB
実行使用メモリ 25,436 KB
最終ジャッジ日時 2024-04-09 03:06:21
合計ジャッジ時間 1,733 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
23,352 KB
testcase_01 AC 23 ms
25,428 KB
testcase_02 AC 22 ms
23,392 KB
testcase_03 AC 22 ms
23,728 KB
testcase_04 AC 23 ms
23,344 KB
testcase_05 AC 23 ms
23,472 KB
testcase_06 AC 22 ms
23,648 KB
testcase_07 AC 22 ms
23,140 KB
testcase_08 AC 23 ms
25,436 KB
testcase_09 AC 22 ms
23,484 KB
testcase_10 AC 21 ms
23,520 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program {
  static void Main() {
    var s = Console.ReadLine();
    var m = s.Length / 2;
    var t = s.Substring(0, m);
    var u = s.Substring(m);
    Console.WriteLine(t == u ? "YES" : "NO");
  }
}
0