Answers
为何不用位运算
C# code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
namespace CSharpTest
{
class Program
{
static void Main(string[] args)
{
int a = 3, b = 4;
Console.WriteLine((a^b) > 1 1:0);
}
}
}
天天看飞机
answered 11 years, 5 months ago