本文分类:news发布日期:2025/11/11 20:35:02
打赏

相关文章

HNOI2016 序列

HNOI2016序列 题意 给定 \(n\) 和 \(m\) 以及序列 \(a\{n\}\)。有 \(m\) 次询问,每次给定区间 \([l,r]\in[1,n]\),求 \[\sum_{l\le l\le r\le r}\min_{i=l}^{r}a_i \]数据范围:\(1\le n,m\le 10^5\),\(|a_i|\le 10…

编程老鸟请注意

我发现getwc(fp)速度很慢。看了下文档: The getwc() function or macro functions identically to fgetwc(). It may be implemented as a macro, and may evaluate its argument more than once. There is no reason…

stm32使用SPI写W25Q32

SPI.h#ifndef __SPI_H #define __SPI_H#include "stm32f10x.h"#define SPI_CS_H GPIO_SetBits(GPIOB, GPIO_Pin_12) #define SPI_CS_L GPIO_ResetBits(GPIOB, GPIO_Pin_12)#define SPI_SCK_H GPIO_SetBits(G…

手机版浏览

扫一扫体验

微信公众账号

微信扫一扫加关注

返回
顶部