結果
| 問題 |
No.1934 Four Fruits
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-23 06:58:51 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| コード長 | 314 bytes |
| コンパイル時間 | 150 ms |
| コンパイル使用メモリ | 7,072 KB |
| 実行使用メモリ | 39,040 KB |
| 最終ジャッジ日時 | 2024-09-24 12:31:34 |
| 合計ジャッジ時間 | 1,457 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
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"));
//解説:ビット排他的論理和