06 2024 档案

摘要:按键控制灯 #include <msp430.h> /** * main.c */ int main(void) { P1DIR &= ~BIT3; P1DIR |= BIT0; volatile int show = P1REN; for(; ; ){ volatile int ans = P1I 阅读全文
posted @ 2024-06-26 17:54 雪之下,树之旁 阅读(53) 评论(0) 推荐(0)
摘要:最长不下降子序列 正一遍反一遍求子序列就行。 #include <bits/stdc++.h> using namespace std; #define N 101 #define ll long long template <class T> inline T read(T& a){ T x = 阅读全文
posted @ 2024-06-25 16:08 雪之下,树之旁 阅读(35) 评论(0) 推荐(0)