結果

問題 No.926 休日の平均
コンテスト
ユーザー はとばねぇ
提出日時 2019-12-02 00:56:37
言語 JavaScript
(node v26.7.0 + ACL)
コンパイル:
true
実行:
node _filename_ ONLINE_JUDGE
結果
AC  
実行時間 37 ms / 2,000 ms
+ 733µs
コード長 370 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 3 ms
コンパイル使用メモリ 7,980 KB
実行使用メモリ 50,880 KB
最終ジャッジ日時 2026-09-15 06:56:11
合計ジャッジ時間 2,483 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

class Answer {
  constructor(input) {
    const data = input.trim().split(' ');
    this.A = Number(data[0]);
    this.B = Number(data[1]);
    this.C = Number(data[2]);
  }

  main() {
    let ans = (this.A/this.B*this.C).toFixed(8);
    this.dest(ans);
  }

  dest(ans) {
    console.log(ans);
  }
}
new Answer(require('fs').readFileSync('/dev/stdin', 'utf8')).main();
0