10 2022 档案

摘要:2020.06 青少年机器人技术等级考试理论综合试卷(四级) https://www.doc88.com/p-54761549616027.html 2020.09 青少年机器人技术等级考试理论综合试卷(四级) https://www.doc88.com/p-98073986737529.html? 阅读全文
posted @ 2022-10-30 17:16 new-code 阅读(56) 评论(0) 推荐(0) 编辑
摘要:C++运算符优先级口诀 说明: 同一优先级的运算符,运算次序由结合方向所决定 口诀: 作用解析独一份 //作用域解析运算符 括号成员加后缀 //括号运算符 、成员运算符. -> 、后缀运算符++、– 其余单目排第三 //其他所有单目运算符:如++(前缀)、 --(前缀)、 +(正)、 -(负) 、解 阅读全文
posted @ 2022-10-29 09:36 new-code 阅读(312) 评论(0) 推荐(0) 编辑
摘要:强制类型转换优先级 #include<bits/stdc++.h> using namespace std; int main(){ float temp=0; float a=1.1; float b=2.1; temp=a+b; cout<<temp<<endl; temp=(int)a+b;/ 阅读全文
posted @ 2022-10-29 09:21 new-code 阅读(91) 评论(0) 推荐(0) 编辑
摘要:呼吸灯 const int dwqPin=A0; const int ledPin=9; void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your 阅读全文
posted @ 2022-10-23 13:10 new-code 阅读(29) 评论(0) 推荐(0) 编辑
摘要:电子学会五级-贪心算法 1 部分背包问题 https://www.luogu.com.cn/problem/P2240 #include<bits/stdc++.h> using namespace std; const int MAXN=105; int n,t; struct mvp{ int 阅读全文
posted @ 2022-10-16 17:17 new-code 阅读(48) 评论(0) 推荐(0) 编辑
摘要:电子学会五级-分治算法 快速排序 https://www.luogu.com.cn/problem/P1177 #include<bits/stdc++.h> using namespace std; const int MAXN=1e5+5; int a[MAXN],n; /* 以L R 中间随机 阅读全文
posted @ 2022-10-16 17:11 new-code 阅读(51) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示