摘要: https://www.runoob.com/bootstrap/bootstrap-intro.html 阅读全文
posted @ 2025-07-12 15:31 黛玉醉打将门神 阅读(5) 评论(0) 推荐(0)
摘要: <h1>王颜博</h1> <p>低级前端开发工程师|UI/UX设计师 毕业于著名学院(三中)</p> <p> <img src="https://img0.baidu.com/it/u=1880221435,1424312892&fm=253&app=138&f=JPEG?w=800&h=1240" 阅读全文
posted @ 2025-07-12 15:28 黛玉醉打将门神 阅读(4) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int js(string a,string b); string no1(string x); int main(){ string a; getline(cin,a); a=no1(a); if(a.fi 阅读全文
posted @ 2023-11-17 19:59 黛玉醉打将门神 阅读(18) 评论(0) 推荐(0)
摘要: #include <iostream> #include<stack> #include<deque> #include<string> using namespace std; //C++混合四则运算 int pri(char c)//标识运算符优先级 { switch(c) { case '+' 阅读全文
posted @ 2023-11-11 11:55 黛玉醉打将门神 阅读(22) 评论(0) 推荐(0)
摘要: #include <iostream> #include <iomanip> using namespace std; int row=16; int col=16; bool black=true; int all[17][17]; void F5(){ for(int ii=0;ii<=col; 阅读全文
posted @ 2023-11-05 09:30 黛玉醉打将门神 阅读(32) 评论(0) 推荐(0)
摘要: 小壁灯上楼梯 #include <iostream> using namespace std; int a(int c){ if(c<=2){ return c; }else{ return a(c-1)+(c-2); } } int main(int argc, char** argv) { in 阅读全文
posted @ 2023-11-04 09:32 黛玉醉打将门神 阅读(9) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(int argc, char** argv) { int a=10; //声明指针p int *p; //将指针p指向变量a的内存地址 p=&a; cout<<"a的值="<<a<<endl; cou 阅读全文
posted @ 2023-10-28 09:49 黛玉醉打将门神 阅读(15) 评论(0) 推荐(0)
摘要: 位运算分为位逻辑运算与移位运算(对应二进制位): 注:在逻辑运算中,数学表示符于编程逻辑的对应关系为:∧表示与∨表示或¬表示非 含义 C++语言表示 规则 与运算 a&b 都为1时为1,反之为0。 或运算 a|b 两个数其中一个为1就为1,反之为0。 异或运算 a^b 两个数不同时结果为1,反之为0 阅读全文
posted @ 2023-10-05 09:49 黛玉醉打将门神 阅读(74) 评论(0) 推荐(0)
摘要: 一 格式化输入函数scanf scanf 函数的功能是格式化输入任意数据列表,其一般调用格式为: scanf(格式控制符,地址列表) 【说明】 (1)地址列表中给出各变量的地址,可以为变量的地址,以&开头,也可以为数组,字符串的首地址。 (2)格式控制符由%和格式符组成,作用是将要输入的字符按指定的 阅读全文
posted @ 2023-10-04 09:52 黛玉醉打将门神 阅读(280) 评论(0) 推荐(0)
摘要: 1 #include <iostream> 2 using namespace std; 3 void cheng(int a,int b){ 4 if(a<=9){ 5 if(b<=a){ 6 cout<<a<<"x"<<b<<"="<<a*b<<" "; 7 cheng(a,b+1); 8 } 阅读全文
posted @ 2023-09-03 08:52 黛玉醉打将门神 阅读(21) 评论(1) 推荐(0)