結果
問題 |
No.379 五円硬貨
|
ユーザー |
![]() |
提出日時 | 2021-03-04 22:49:28 |
言語 | TypeScript (5.7.2) |
結果 |
AC
|
実行時間 | 64 ms / 1,000 ms |
コード長 | 289 bytes |
コンパイル時間 | 7,872 ms |
コンパイル使用メモリ | 228,736 KB |
実行使用メモリ | 39,424 KB |
最終ジャッジ日時 | 2024-12-31 16:32:28 |
合計ジャッジ時間 | 9,837 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
import * as fs from 'fs'; const input = fs.readFileSync('/dev/stdin', 'utf8'); const NGVarray = input.split(' '); const N = parseInt(NGVarray[0]); const G = parseInt(NGVarray[1]); const V = parseInt(NGVarray[2]); let answer = 0; answer = G * (Math.floor(N / 5)) / V; console.log(answer);