結果
| 問題 |
No.780 オフ会
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-02-22 18:14:53 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 215 bytes |
| コンパイル時間 | 250 ms |
| コンパイル使用メモリ | 27,136 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-24 19:37:26 |
| 合計ジャッジ時間 | 943 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 11 |
ソースコード
#include <stdio.h>
int main(void){
int a=0,b=0,c=0;
scanf("%d %d",&a,&b);
c=b-1;
if(a<=c){
printf("YES\n");
printf("0");
}else{
printf("NO\n%d",a-c);
}
return 0;
}