結果

問題 No.311 z in FizzBuzzString
ユーザー butchi_y
提出日時 2015-12-08 14:50:53
言語 JavaScript
(node v23.5.0)
結果
WA  
実行時間 -
コード長 273 bytes
コンパイル時間 239 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 39,424 KB
最終ジャッジ日時 2024-09-24 21:25:24
合計ジャッジ時間 2,905 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

function FizzBuzzString(N) {
  return (Math.floor(N / 3) + Math.floor(N / 5)) * 2;
}

function Main(input) {
    n = parseInt(input);
    ans = FizzBuzzString(n);
    console.log('%d', ans);
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0