摘要:
题目:求1+2+...+n,要求不能使用乘除法,for,while,if,else,switch,case等关键字及条件判断语句(A?B:C). 解法一:利用构造函数求解: class Temp { public: Temp() {++N;Sum +=N;} static void Reset() 阅读全文
posted @ 2016-06-23 16:57
wxdjss
阅读(241)
评论(0)
推荐(0)
Follow your passion,Follow your heart!
2016年6月23日
2016年6月21日
2016年6月15日
2016年6月6日
2016年6月4日
2016年5月21日