結果
| 問題 |
No.1579 New Type of Nim
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-02 21:51:22 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 347 bytes |
| コンパイル時間 | 2,041 ms |
| コンパイル使用メモリ | 108,192 KB |
| 実行使用メモリ | 27,280 KB |
| 最終ジャッジ日時 | 2024-06-29 11:21:40 |
| 合計ジャッジ時間 | 3,981 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 WA * 5 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections.Generic;
using static System.Console;
using System.Linq;
class yuki302
{
static int[] NList => ReadLine().Split().Select(int.Parse).ToArray();
static void Main()
{
var cin = NList;
Array.Sort(cin);
WriteLine(cin[1] % 2 == 0 && cin[1] - cin[0] == 1 ? "Q" : "P");
}
}