11 2023 档案
四则运算
摘要:#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 黛玉醉打将门神 阅读(9) 评论(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 黛玉醉打将门神 阅读(14) 评论(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 黛玉醉打将门神 阅读(23) 评论(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 黛玉醉打将门神 阅读(4) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示