結果

問題 No.1934 Four Fruits
ユーザー testtest
提出日時 2022-11-23 06:58:51
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 314 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 37,248 KB
最終ジャッジ日時 2023-10-24 19:00:42
合計ジャッジ時間 2,490 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

function Main(input) {
    const src = input.replace("\n", "").split(" ");
    const a = parseInt(src[0]);
    const b = parseInt(src[1]);
    const c = parseInt(src[2]);
    let ans = a ^ b ^ c;
    console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
//解説:ビット排他的論理和
0