結果
| 問題 | No.166 マス埋めゲーム |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2015-08-06 19:55:04 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 95 bytes |
| 記録 | |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 28,232 KB |
| 最終ジャッジ日時 | 2026-02-23 18:58:52 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 9 WA * 11 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:3:1: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
3 | scanf("%d%d%d%d",&a,&b,&c,&d);
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | int main(){
main.c:4:1: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
4 | printf(a*b%c-d?"YES":"NO");
| ^~~~~~
main.c:4:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
ソースコード
int main(){
int a,b,c,d;
scanf("%d%d%d%d",&a,&b,&c,&d);
printf(a*b%c-d?"YES":"NO");
return 0;
}
testestest