結果
| 問題 | No.337 P versus NP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-26 14:53:43 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 516 bytes |
| コンパイル時間 | 8,207 ms |
| コンパイル使用メモリ | 170,040 KB |
| 実行使用メモリ | 187,508 KB |
| 最終ジャッジ日時 | 2025-11-26 14:53:54 |
| 合計ジャッジ時間 | 10,551 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 9 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (158 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;
public class Program
{
public static void Main()
{
//int num = int.Parse(Console.ReadLine() ?? string.Empty);
string[] pass = (Console.ReadLine() ?? string.Empty).Trim().Split(' ');
//string e = Console.ReadLine() ?? string.Empty;
int n = int.Parse(pass[0]);
int p = int.Parse(pass[1]);
if( p == n * p)
{
Console.WriteLine("-");
}
else
{
Console.WriteLine("!=");
}
}
}