摘要:
串口通信实例——闪几次灯 #define LED 13 int n; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(LED,OUTPUT); } void loop() { i 阅读全文
摘要:
P3131 [USACO16JAN] Subsequences Summing to Sevens S P3131 [USACO16JAN] Subsequences Summing to Sevens S 思路: 一看到区间和我们应该就能马上想到把这个区间拆分成两个前缀相减的形式 式子为:(Pre 阅读全文
摘要:
树状数组模板一 树状数组模板一 #include<bits/stdc++.h> using namespace std; using ll = long long; const int N = 5e5+10; int a[N],t[N]; int n,m; int lowbit(int x) { r 阅读全文