摘要: #include<bits/stdc++.h> using namespace std; int main() { int a[11][11]; a[1][1]=1; for(int i=2;i<=10;i++){ a[i][1]=1;a[i][i]=1; for(int j=2;j<=i-1;j+ 阅读全文
posted @ 2021-01-08 16:10 TFLSZXL 阅读(85) 评论(0) 推荐(0)
摘要: if(a==b&&b==c) //正确 if(a==b==c) //错误 阅读全文
posted @ 2020-12-25 16:41 TFLSZXL 阅读(937) 评论(0) 推荐(0)
摘要: 输出时需要注意的细节 #include<bits/stdc++.h> using namespace std; int main() { int ys,cx=0,sy=0;//预算,差值,储蓄,剩余 int i,m,yf;//月份 int flag=1; for(i=1; i<=12; i++) { 阅读全文
posted @ 2020-12-25 16:22 TFLSZXL 阅读(1214) 评论(0) 推荐(0)
摘要: 1. 1024 注意奇偶数对应的单词 2.等于== 阅读全文
posted @ 2020-12-21 18:03 TFLSZXL 阅读(78) 评论(0) 推荐(0)
摘要: 常用运算函数 阅读全文
posted @ 2020-12-18 17:16 TFLSZXL 阅读(192) 评论(0) 推荐(0)
摘要: 格式化输入输出 阅读全文
posted @ 2020-12-18 17:12 TFLSZXL 阅读(80) 评论(0) 推荐(0)
摘要: 1.( )( )之间要有运算符 阅读全文
posted @ 2020-12-18 17:08 TFLSZXL 阅读(48) 评论(0) 推荐(0)