結果
| 問題 |
No.3233 順列判定
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-15 22:03:55 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 805 bytes |
| コンパイル時間 | 2,760 ms |
| コンパイル使用メモリ | 275,268 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2025-08-15 22:04:11 |
| 合計ジャッジ時間 | 3,966 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 WA * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, s, e) for (int i = s; i < e; ++i)
#define sort_(a) stable_sort(a.begin(), a.end())
#define rsort(a) stable_sort(a.rbegin(), a.rend())
#define sum(a) accumulate(a.begin(), a.end(), 0LL)
#define join(a, d) accumulate(a.begin() + 1, a.end(), a[0], [](string s, string t) { return s + d + t; })
#define all(a) a.begin(), a.end()
#define degrees(a) a * 180.0 / M_PI;
#define radians(a) (a * M_PI) / 180.0;
typedef long long ll;
const long MOD = 1e9 + 7;
int main(int, [[maybe_unused]] char *argv[]) {
#ifdef DEBUG
freopen(argv[1], "r", stdin);
#endif
ios_base::sync_with_stdio(false);
cin.tie(0);
cout << fixed << setprecision(15);
int N, M;
cin >> N >> M;
if (M == 1)
cout << "Yes\n";
else
cout << "No\n";
return 0;
}