結果
問題 |
No.2969 ローラン単項式の微分
|
ユーザー |
![]() |
提出日時 | 2024-12-01 22:06:25 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 307 bytes |
コンパイル時間 | 1,971 ms |
コンパイル使用メモリ | 192,864 KB |
最終ジャッジ日時 | 2025-02-26 10:16:11 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; void fast_io() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { fast_io(); long long n, m; cin >> n >> m; if (m != 0 | n != 0) { cout << "Yes" << endl; cout << n * m << " " << m - 1 << endl; } else { cout << "No" << endl; } }