結果

問題 No.2054 Different Sequence
ユーザー 👑 rin204
提出日時 2022-08-23 14:57:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 103 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-10-10 22:46:05
合計ジャッジ時間 1,883 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
x = n * (n + 1) // 2
if m >= x:
    print("Yes")
else:
    print("No")
0