結果
| 問題 |
No.373 かけ算と割った余り
|
| コンテスト | |
| ユーザー |
zeosutt
|
| 提出日時 | 2016-06-09 01:23:15 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 73 bytes |
| コンパイル時間 | 337 ms |
| コンパイル使用メモリ | 33,280 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-04-24 00:49:38 |
| 合計ジャッジ時間 | 914 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 5 |
コンパイルメッセージ
main.c: In function 'main':
main.c:1:20: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
1 | long a,b,c;main(d){scanf("%d%d%d%d",&a,&b,&c,&d);printf("%d",a*b%d*c%d);}
| ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
+++ |+#include <stdio.h>
1 | long a,b,c;main(d){scanf("%d%d%d%d",&a,&b,&c,&d);printf("%d",a*b%d*c%d);}
main.c:1:50: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
1 | long a,b,c;main(d){scanf("%d%d%d%d",&a,&b,&c,&d);printf("%d",a*b%d*c%d);}
| ^~~~~~
main.c:1:50: note: include '<stdio.h>' or provide a declaration of 'printf'
ソースコード
long a,b,c;main(d){scanf("%d%d%d%d",&a,&b,&c,&d);printf("%d",a*b%d*c%d);}
zeosutt