結果

問題 No.311 z in FizzBuzzString
ユーザー n3k2t1n3k2t1
提出日時 2019-07-12 00:16:28
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 5,152 KB
実行使用メモリ 37,584 KB
最終ジャッジ日時 2023-10-25 02:58:53
合計ジャッジ時間 1,443 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
37,552 KB
testcase_01 AC 68 ms
37,552 KB
testcase_02 AC 70 ms
37,552 KB
testcase_03 AC 68 ms
37,552 KB
testcase_04 AC 68 ms
37,552 KB
testcase_05 AC 68 ms
37,552 KB
testcase_06 AC 69 ms
37,552 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

const lines = require('fs')
  .readFileSync('/dev/stdin', 'utf-8')
  .trim().split('\n').values();

const N = Number(lines.next().value);

console.log((Math.floor(N / 3) + Math.floor(N / 5)) * 2);
0