結果

問題 No.350 d=vt
ユーザー aaaaaaiu
提出日時 2019-07-30 14:55:06
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 171 bytes
コンパイル時間 1,971 ms
コンパイル使用メモリ 192,720 KB
最終ジャッジ日時 2025-01-07 10:06:43
ジャッジサーバーID
(参考情報)
judge4 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:7:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    7 |     scanf("0.%d%d", &v, &t);
      |     ~~~~~^~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main() {
    int v, t;
    scanf("0.%d%d", &v, &t);
    cout << v*t/10000 << endl;
    return 0;
}
0