結果
| 問題 |
No.1527 Input Constant is Good
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-15 17:38:45 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 1,094 bytes |
| コンパイル時間 | 1,471 ms |
| コンパイル使用メモリ | 161,936 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-07-15 17:38:48 |
| 合計ジャッジ時間 | 2,437 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pll = pair<ll, ll>;
using int128 = __int128;
using State = string::const_iterator;
class ParseError {};
#define rep(i, n) for(ll i = 0; i < (n); i++)
#define reps(i, l, r) for(ll i = (l); i < (r); i++)
#define all(a) (a).begin(), (a).end()
#define rall(a) (a).rbegin(), (a).rend()
#define endl "\n";
const ll INF = LLONG_MAX / 4;
const ld inf = numeric_limits<long double>::max() / (ld)4;
const ll mod1 = 1000000007;
const ll mod2 = 998244353;
const ld pi = 3.1415926535897;
ll dx[8] = {1, 1, 0, -1, -1, -1, 0, 1};
ll dy[8] = {0, -1, -1, -1, 0, 1, 1, 1};
template <typename T>
bool chmax(T &a, const T& b) {
if (a < b) { a = b; return true; }
return false;
}
template <typename T>
bool chmin(T &a, const T& b) {
if (a > b) { a = b; return true; }
return false;
}
void solve() {
ll N, M; cin >> N >> M;
if (N <= M) {
cout << "Yes" << endl;
}
else cout << "No" << endl;
}
int main() {
ll T = 1;
// cin >> T;
while (T--) {
solve();
}
}