navigation switch
Home
Contests
Notification
Clarification
Problems
Ranklist
Status
HackStatus
Problem 1001
请解释f(S)为何为0
ydmBestCoder
| 2016-03-26 19:08:56
Author
f(S)不应该为3吗?不是不同为1吗?
admin
| 2016-03-26 19:16:02
# 1
对题目描述里S={1,2,3},求f(S)的例子,用代码写就是,int a=1^2^3;或者用pascal的话,var a:longint;a:=1 xor 2 xor 3;
Title
Content