結果

問題 No.2054 Different Sequence
ユーザー SyuKing_OrderSyuKing_Order
提出日時 2022-08-21 12:52:54
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 111 bytes
コンパイル時間 266 ms
コンパイル使用メモリ 82,288 KB
実行使用メモリ 847,988 KB
最終ジャッジ日時 2024-04-18 12:40:51
合計ジャッジ時間 2,377 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,232 KB
testcase_01 AC 35 ms
52,312 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 MLE -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m = map(int, input().split())
if sum([i for i in range(1,n+1)]) <= m:
    print('Yes')
else:
    print('No')
0