摘要:
#include #include #include #include using namespace std;int main(){ //创建对象 string s1,s2,s; //赋值 s1="Hello"; s2=" World"... 阅读全文
posted @ 2018-02-08 23:12
任小喵
阅读(87)
评论(0)
推荐(0)
摘要:
#include #include #include #include using namespace std;bool cmp(int a,int b){ return a>b;}int main(){ //创建对象的三种形式 vector v(1... 阅读全文
posted @ 2018-02-08 19:09
任小喵
阅读(100)
评论(0)
推荐(0)
摘要:
素数枚举因子法bool judeg(int n){ if(n==1) return false; for(int i=2; i*i#include #include #include #include using namespace std;int pr... 阅读全文
posted @ 2018-02-08 14:08
任小喵
阅读(283)
评论(0)
推荐(0)
摘要:
c语言位运算符 c语言提供了六个位运算符,进行二进制计算。这些运算符只能用于整型操作数,即只能用于带符号或无符号的char,short,int与long类型。 1.按位与运算(&) (1). 运算规则 & 0 1 0 0 0... 阅读全文
posted @ 2018-02-08 10:37
任小喵
阅读(282)
评论(0)
推荐(0)

浙公网安备 33010602011771号