int8_t led_pin13;int8_t led2_pin12;
void setup() {// put your setup code here, to run once:pinMode(led_pin, INPUT);//输入pinMode(led2_pin, OUTPUT);//输出
}void loop() {// put your main code here, to run repeatedly:if(digitalRead(led_pin)1){//digitalRead(…
C力扣 汉诺塔
class Solution {
public:void hanota(vector<int>& a, vector<int>& b, vector<int>& c) {dfs(a,b,c,a.size());}void dfs(vector<int>& a, vector<int>& b, vector<int>& c,int n){if(n1){c.push…