結果

問題 No.2054 Different Sequence
ユーザー gr1msl3ygr1msl3y
提出日時 2022-08-24 22:47:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 68 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 82,404 KB
実行使用メモリ 53,808 KB
最終ジャッジ日時 2024-04-20 11:09:08
合計ジャッジ時間 1,666 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,136 KB
testcase_01 AC 31 ms
53,100 KB
testcase_02 AC 32 ms
53,808 KB
testcase_03 AC 33 ms
52,528 KB
testcase_04 AC 33 ms
52,664 KB
testcase_05 AC 33 ms
52,552 KB
testcase_06 AC 32 ms
52,292 KB
testcase_07 AC 31 ms
52,064 KB
testcase_08 AC 34 ms
52,604 KB
testcase_09 AC 34 ms
51,804 KB
testcase_10 AC 32 ms
52,164 KB
testcase_11 AC 36 ms
53,216 KB
testcase_12 AC 34 ms
51,676 KB
testcase_13 AC 36 ms
52,192 KB
testcase_14 AC 35 ms
52,816 KB
testcase_15 AC 33 ms
52,476 KB
testcase_16 AC 34 ms
52,440 KB
testcase_17 AC 31 ms
53,172 KB
testcase_18 AC 33 ms
53,036 KB
testcase_19 AC 31 ms
53,560 KB
testcase_20 AC 32 ms
52,084 KB
testcase_21 AC 32 ms
52,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
print('Yes' if N*(N+1)//2<=M else 'No')
0