結果
| 問題 | 
                            No.373 かけ算と割った余り
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hayakawa4739
                         | 
                    
| 提出日時 | 2016-06-28 13:16:58 | 
| 言語 | C90  (gcc 12.3.0)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 131 bytes | 
| コンパイル時間 | 107 ms | 
| コンパイル使用メモリ | 19,712 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-10-11 23:28:22 | 
| 合計ジャッジ時間 | 1,800 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | RE * 2 | 
| other | RE * 5 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:8:17: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=]
    8 |         scanf("%d %d %d %d",a,b,c,d);
      |                ~^           ~
      |                 |           |
      |                 int *       int
main.c:8:20: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat=]
    8 |         scanf("%d %d %d %d",a,b,c,d);
      |                   ~^          ~
      |                    |          |
      |                    int *      int
main.c:8:23: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘int’ [-Wformat=]
    8 |         scanf("%d %d %d %d",a,b,c,d);
      |                      ~^         ~
      |                       |         |
      |                       int *     int
main.c:8:26: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘int’ [-Wformat=]
    8 |         scanf("%d %d %d %d",a,b,c,d);
      |                         ~^        ~
      |                          |        |
      |                          int *    int
main.c:8:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 |         scanf("%d %d %d %d",a,b,c,d);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
#include <limits.h>
int main(void){
	int a,b,c,d;
	scanf("%d %d %d %d",a,b,c,d);
	printf("%d",(a*b*c)%d);
}
            
            
            
        
            
hayakawa4739