結果

問題 No.2054 Different Sequence
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-10-22 20:51:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 109 ms / 2,000 ms
コード長 225 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 86,724 KB
実行使用メモリ 73,120 KB
最終ジャッジ日時 2023-09-14 13:27:38
合計ジャッジ時間 4,252 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 104 ms
72,856 KB
testcase_01 AC 107 ms
72,872 KB
testcase_02 AC 104 ms
73,104 KB
testcase_03 AC 104 ms
73,120 KB
testcase_04 AC 104 ms
73,080 KB
testcase_05 AC 105 ms
72,876 KB
testcase_06 AC 104 ms
73,032 KB
testcase_07 AC 106 ms
72,928 KB
testcase_08 AC 106 ms
72,788 KB
testcase_09 AC 107 ms
72,904 KB
testcase_10 AC 108 ms
72,612 KB
testcase_11 AC 109 ms
72,616 KB
testcase_12 AC 106 ms
72,804 KB
testcase_13 AC 106 ms
72,880 KB
testcase_14 AC 108 ms
72,644 KB
testcase_15 AC 106 ms
72,804 KB
testcase_16 AC 104 ms
72,780 KB
testcase_17 AC 103 ms
72,792 KB
testcase_18 AC 103 ms
72,964 KB
testcase_19 AC 105 ms
72,840 KB
testcase_20 AC 104 ms
72,808 KB
testcase_21 AC 103 ms
72,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from functools import *
from itertools import *
from heapq import *
import sys,math
input = sys.stdin.readline

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