結果

問題 No.373 かけ算と割った余り
ユーザー ontama_12ontama_12
提出日時 2016-09-23 20:00:29
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 411 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 42,072 KB
最終ジャッジ日時 2024-04-21 01:28:36
合計ジャッジ時間 1,065 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
39,808 KB
testcase_01 AC 71 ms
39,680 KB
testcase_02 AC 71 ms
39,680 KB
testcase_03 AC 71 ms
39,808 KB
testcase_04 AC 69 ms
39,808 KB
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

///////// No.373 かけ算と割った余り 
    process.stdin.resume();
    process.stdin.setEncoding('utf8');
    process.stdin.on('data', function (chunk) {

        //すべて受け取り空白で区切って格納
        var input = chunk.split(" ").map(Number)
        //計算
        var result = (input[0] * input[1] * input[2]) % input[3]
        //出力
        console.log(result)

    });
    
0