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

浙公网安备 33010602011771号