結果

問題 No.780 オフ会
ユーザー itok217
提出日時 2019-01-12 09:50:57
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-16 08:37:28
合計ジャッジ時間 1,014 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:2:20: warning: extra tokens at end of #include directive
    2 | #include <stdlib.h>;
      |                    ^

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>;

int main() {
  int a, b;
  scanf("%d%d", &a, &b);
  a++;
  if (a <= b) puts("YES");
  else puts("NO");
  printf("%d\n", abs(a - b));
}
0