結果

問題 No.350 d=vt
ユーザー Maeda
提出日時 2025-03-28 10:46:07
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 154 bytes
コンパイル時間 915 ms
コンパイル使用メモリ 26,112 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2025-03-28 10:46:09
合計ジャッジ時間 1,358 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 8 WA * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |     scanf("%le %le",&u,&t);
      |     ^~~~~~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include <stdio.h>
#include <math.h>

void main(void){
    double u,t;
    scanf("%le %le",&u,&t);
    int result = floor(u*t);
    printf("%d",result);
}
0