結果

問題 No.2054 Different Sequence
ユーザー Jashinchan
提出日時 2022-08-24 09:05:20
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 27,904 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-11 19:12:40
合計ジャッジ時間 1,154 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 12 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(void)
{
    int N, M;
    scanf("%d %d", &N, &M);
    if (M >= N * (N + 1) / 2)
        printf("Yes\n");
    else
        printf("No\n");
    return 0;
}
0