笔试常见的智力题及答案

时间:09-24编辑:佚名 招聘笔试题

【23xiu.com-爱上秀-教育信息门户网】

  sign(n)=0 n=0

  sign(n)=-1 n<0

  :sign(n)=1 n>0

  解:只要注意[sign(n-m)*sign(m-n)+1]在n=m 处取1 其他点取0 就可以了

【猜你喜欢】 【为你推荐】