結果

問題 No.512 魔法少女の追いかけっこ
ユーザー HaijinnHaijinn
提出日時 2017-05-06 14:04:38
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 371 ms
コンパイル使用メモリ 23,740 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-09 13:20:52
合計ジャッジ時間 2,120 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 1 ms
4,376 KB
testcase_03 WA -
testcase_04 AC 1 ms
4,376 KB
testcase_05 AC 0 ms
4,376 KB
testcase_06 AC 0 ms
4,376 KB
testcase_07 AC 0 ms
4,376 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 1 ms
4,380 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 1 ms
4,380 KB
testcase_17 WA -
testcase_18 AC 1 ms
4,376 KB
testcase_19 AC 1 ms
4,376 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 0 ms
4,384 KB
testcase_25 AC 1 ms
4,380 KB
testcase_26 AC 1 ms
4,376 KB
testcase_27 AC 0 ms
4,380 KB
testcase_28 WA -
testcase_29 AC 1 ms
4,380 KB
testcase_30 AC 0 ms
4,380 KB
testcase_31 AC 0 ms
4,380 KB
testcase_32 AC 1 ms
4,380 KB
testcase_33 AC 0 ms
4,376 KB
testcase_34 AC 0 ms
4,380 KB
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 AC 1 ms
4,380 KB
testcase_39 AC 1 ms
4,380 KB
testcase_40 AC 0 ms
4,380 KB
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
testcase_45 AC 1 ms
4,376 KB
testcase_46 WA -
testcase_47 AC 0 ms
4,376 KB
testcase_48 WA -
testcase_49 AC 1 ms
4,376 KB
testcase_50 WA -
testcase_51 WA -
testcase_52 AC 0 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include<stdlib.h>
int main(void)
{
int x,y;
int n;
int a[100];
int i;
scanf("%d%d",&x,&y);
scanf("%d",&n);
for(i=0;i<n;i++){
	scanf("%d",&a[i]);
}
if(y-x<=10){
	printf("YES\n");
	
}else{
	
	printf("NO\n");
}
	return 0;
}
0