結果
| 問題 | 
                            No.350 d=vt
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Maeda
                         | 
                    
| 提出日時 | 2025-03-28 11:05:12 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 169 bytes | 
| コンパイル時間 | 383 ms | 
| コンパイル使用メモリ | 27,008 KB | 
| 実行使用メモリ | 7,324 KB | 
| 最終ジャッジ日時 | 2025-03-28 11:05:15 | 
| 合計ジャッジ時間 | 1,311 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 11 WA * 1 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:8:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 |     scanf("%f %d",&u,&t);
      |     ^~~~~~~~~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
#include <math.h>
void main(void){
    float u = 0;
    int t = 0;
    scanf("%f %d",&u,&t);
    int result = floor(u*t);
    printf("%d",result);
}
            
            
            
        
            
Maeda