結果

問題 No.2969 ローラン単項式の微分
ユーザー hiro1729
提出日時 2024-08-21 21:16:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 174 bytes
コンパイル時間 333 ms
コンパイル使用メモリ 82,244 KB
実行使用メモリ 53,440 KB
最終ジャッジ日時 2024-08-21 21:16:39
合計ジャッジ時間 2,322 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
assert(-10 ** 9 <= N <= 10 ** 9)
assert(-10 ** 9 <= M <= 10 ** 9)

if N == 0 or M == 0:
	print("No")
else:
	print("Yes")
	print(N * M, M - 1)
0