結果
問題 |
No.2054 Different Sequence
|
ユーザー |
![]() |
提出日時 | 2025-02-11 03:11:11 |
言語 | Standard ML (MLton 20210117) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 206 bytes |
コンパイル時間 | 3,834 ms |
コンパイル使用メモリ | 687,844 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-02-11 03:11:17 |
合計ジャッジ時間 | 4,818 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 |
ソースコード
val n = valOf (TextIO.scanStream (Int64.scan StringCvt.DEC) TextIO.stdIn); val m = valOf (TextIO.scanStream (Int64.scan StringCvt.DEC) TextIO.stdIn); print (if n*(n+1) div 2 > m then "No\n" else "Yes\n");