結果
| 問題 |
No.780 オフ会
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-11 21:28:49 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| コンパイル時間 | 982 ms |
| コンパイル使用メモリ | 26,240 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-30 03:10:09 |
| 合計ジャッジ時間 | 1,758 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 11 |
ソースコード
#include <stdio.h>
int A, B;
int main(void) {
scanf("%d %d", &A, &B);
A++;
if (A <= B) {
puts("YES");
printf("%d\n", 0);
} else {
puts("NO");
printf("%d\n", A - B);
}
return 0;
}