結果

問題 No.337 P versus NP
ユーザー fujitafujita
提出日時 2023-05-08 11:01:21
言語 C#
(.NET 8.0.203)
結果
AC  
実行時間 47 ms / 2,000 ms
コード長 531 bytes
コンパイル時間 7,091 ms
コンパイル使用メモリ 144,948 KB
実行使用メモリ 161,092 KB
最終ジャッジ日時 2023-08-16 15:20:16
合計ジャッジ時間 9,208 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
29,840 KB
testcase_01 AC 47 ms
30,036 KB
testcase_02 AC 46 ms
27,860 KB
testcase_03 AC 46 ms
27,888 KB
testcase_04 AC 45 ms
27,908 KB
testcase_05 AC 46 ms
27,860 KB
testcase_06 AC 46 ms
28,200 KB
testcase_07 AC 46 ms
29,872 KB
testcase_08 AC 46 ms
27,872 KB
testcase_09 AC 46 ms
27,952 KB
testcase_10 AC 45 ms
27,784 KB
testcase_11 AC 46 ms
27,832 KB
testcase_12 AC 46 ms
27,840 KB
testcase_13 AC 46 ms
27,760 KB
testcase_14 AC 47 ms
28,220 KB
testcase_15 AC 47 ms
27,708 KB
testcase_16 AC 46 ms
29,976 KB
testcase_17 AC 46 ms
28,148 KB
testcase_18 AC 46 ms
28,156 KB
testcase_19 AC 47 ms
30,220 KB
testcase_20 AC 47 ms
27,840 KB
testcase_21 AC 46 ms
28,088 KB
testcase_22 AC 46 ms
161,092 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  Determining projects to restore...
  Restored /home/judge/data/code/main.csproj (in 123 ms).
.NET 向け Microsoft (R) Build Engine バージョン 17.0.0-preview-21470-01+cb055d28f
Copyright (C) Microsoft Corporation.All rights reserved.

  プレビュー版の .NET を使用しています。https://aka.ms/dotnet-core-preview をご覧ください
  main -> /home/judge/data/code/bin/Release/net6.0/main.dll
  main -> /home/judge/data/code/bin/Release/net6.0/publish/

ソースコード

diff #

using System.Collections.Generic;
using System;
using System.Linq;
using System.Drawing;


namespace yukicoder
{
    class Program
    {

        static void Main(string[] args)//未完成
        {

            var num = Console.ReadLine().Split(" ");

            var N = int.Parse(num[0]);
            var P = int.Parse(num[1]);
            if (P == N * P)
            {
                Console.WriteLine("=");
            }
            else
            {
                Console.WriteLine("!=");
            }
        }
    }
}
0