結果

問題 No.311 z in FizzBuzzString
ユーザー yun_appyun_app
提出日時 2016-05-11 10:59:05
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 39,688 KB
最終ジャッジ日時 2023-10-25 02:43:46
合計ジャッジ時間 1,796 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function(chunk) {
    main(chunk.trim());
});
function main(chunk){
    // your code goes here
    var n = Number(chunk);
    console.log(2*(Math.floor(n/3) + Math.floor(n/5)));
}
0