結果

問題 No.1432 Not Xor
ユーザー yui-tar
提出日時 2021-03-24 18:52:31
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 1,129 ms
コンパイル使用メモリ 102,016 KB
実行使用メモリ 17,536 KB
最終ジャッジ日時 2024-11-26 23:19:45
合計ジャッジ時間 1,481 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
class sample{
    
    public int Calc(int A,int B){
        return (A|B)+(A&B);
    }
}
class Sample{
    public static void Main(){
        sample sm = new sample();
        int num = sm.Calc(3,1);
        Console.WriteLine(num);
    }
}
0