結果
| 問題 | No.166 マス埋めゲーム |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2015-08-08 15:26:14 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 83 bytes |
| 記録 | |
| コンパイル時間 | 113 ms |
| コンパイル使用メモリ | 28,488 KB |
| 最終ジャッジ日時 | 2026-02-23 19:04:26 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:1:20: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | long c,d,a;main(b){scanf("%ld%d%ld%ld",&a,&b,&c,&d);a=!puts(a*b%c-d%c?"NO":"YES");}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | long c,d,a;main(b){scanf("%ld%d%ld%ld",&a,&b,&c,&d);a=!puts(a*b%c-d%c?"NO":"YES");}
ソースコード
long c,d,a;main(b){scanf("%ld%d%ld%ld",&a,&b,&c,&d);a=!puts(a*b%c-d%c?"NO":"YES");}
testestest