06 2024 档案
摘要:按键控制灯 #include <msp430.h> /** * main.c */ int main(void) { P1DIR &= ~BIT3; P1DIR |= BIT0; volatile int show = P1REN; for(; ; ){ volatile int ans = P1I
阅读全文
摘要:最长不下降子序列 正一遍反一遍求子序列就行。 #include <bits/stdc++.h> using namespace std; #define N 101 #define ll long long template <class T> inline T read(T& a){ T x =
阅读全文