結果
問題 |
No.2054 Different Sequence
|
ユーザー |
|
提出日時 | 2022-10-22 20:51:26 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 50 ms / 2,000 ms |
コード長 | 225 bytes |
コンパイル時間 | 169 ms |
コンパイル使用メモリ | 82,580 KB |
実行使用メモリ | 57,280 KB |
最終ジャッジ日時 | 2024-07-01 20:50:13 |
合計ジャッジ時間 | 2,185 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 |
ソースコード
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')