結果
| 問題 | No.2054 Different Sequence |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-03 15:43:29 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 445µs | |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 2,097 ms |
| コンパイル使用メモリ | 328,520 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-14 13:48:17 |
| 合計ジャッジ時間 | 3,387 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
int64_t N, M;
cin >> N >> M;
if (M >= N * (N + 1) / 2)
cout << "Yes\n";
else
cout << "No\n";
}