結果

問題 No.166 マス埋めゲーム
ユーザー testestesttestestest
提出日時 2015-08-06 19:55:45
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 113 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 22,776 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-25 04:14:29
合計ジャッジ時間 1,090 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,376 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 1 ms
4,380 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 1 ms
4,380 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 0 ms
4,380 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:3:1: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
 scanf("%lld%lld%lld%lld",&a,&b,&c,&d);
 ^~~~~
main.c:3:1: warning: incompatible implicit declaration of built-in function ‘scanf’
main.c:3:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:1:1:
+#include <stdio.h>
 int main(){
main.c:3:1:
 scanf("%lld%lld%lld%lld",&a,&b,&c,&d);
 ^~~~~
main.c:4:1: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
 printf(a*b%c-d?"YES":"NO");
 ^~~~~~
main.c:4:1: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:4:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’

ソースコード

diff #

int main(){
long long int a,b,c,d;
scanf("%lld%lld%lld%lld",&a,&b,&c,&d);
printf(a*b%c-d?"YES":"NO");
return 0;
}
0