結果

問題 No.2054 Different Sequence
ユーザー charmychachacha
提出日時 2022-08-29 22:11:55
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 207 bytes
コンパイル時間 1,756 ms
コンパイル使用メモリ 192,216 KB
最終ジャッジ日時 2025-02-06 23:39:10
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
	ios::sync_with_stdio(0);
	cin.tie(0); cout.tie(0);
	long long N, M; cin >> N >> M;
	if(M >= N * (N+1) / 2) cout << "Yes\n";
	else cout << "No\n"; 
}
0