![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
万时
这个作者很懒,什么都没留下…
展开
-
收集的一些小玩意
#define setbit(x,y) x|=(1<<y) //指定的某一位数置1#define clrbit(x,y) x&=~(1<<y) //指定的某一位数置0#define reversebit(x,y) x^=(1<<y) //指定的某一位数取反#define ge...原创 2020-02-18 15:14:42 · 158 阅读 · 0 评论 -
杭电oj第1000题—— A + B Problem
题述如下:Problem DescriptionCalculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor each case, output A + B in one line. \\注意,此处强调一行一输出,即输出后跟“\n”S...原创 2019-02-15 11:23:16 · 1497 阅读 · 0 评论 -
杭电oj第1001题—— Sum Problem
题述如下Problem DescriptionIn this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n. InputThe input will consist of a series of integers n, one integer per line.OutputFor each cas...原创 2019-02-15 11:43:43 · 843 阅读 · 0 评论