結果

問題 No.1579 New Type of Nim
ユーザー 👑 ygussany
提出日時 2021-07-02 21:28:15
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 27,904 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-29 11:01:31
合計ジャッジ時間 1,085 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>

int main()
{
	int A, B;
	scanf("%d %d", &A, &B);
	if (abs(A - B) != 1) printf("P\n");
	else printf("Q\n");
	fflush(stdout);
	return 0;
}
0