結果

問題 No.2054 Different Sequence
ユーザー ID 21712
提出日時 2025-02-11 03:07:22
言語 Standard ML
(MLton 20210117)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 6,241 ms
コンパイル使用メモリ 688,636 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-02-11 03:07:30
合計ジャッジ時間 7,523 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

val n = valOf (TextIO.scanStream (LargeInt.scan StringCvt.DEC) TextIO.stdIn);
val m = valOf (TextIO.scanStream (LargeInt.scan StringCvt.DEC) TextIO.stdIn);

print (if n*(n+1) div 2 > m then "No\n" else "Yes\n");
0