This commit is contained in:
Zengtudor 2024-08-16 17:06:26 +08:00
parent b0c9fe405a
commit 4c81e798a2
3 changed files with 31 additions and 2 deletions

View File

@ -117,4 +117,7 @@ ll ksm(ll a,ll b,ll M){
[树状数组PDF](./day11/FenwickTree/FenwickTree.pdf)
## Day12
>二分图染色BFS遍历
>二分图染色BFS遍历
## Day13
>单调队列

22
day13/P1049/P1049.cpp Normal file
View File

@ -0,0 +1,22 @@
#include <cctype>
#include <cstdio>
using namespace std;
int main(){
}
int readint(){
int x=0,w=1;
char ch=0;
while(!isdigit(ch)){
if(ch=='-')w=-1;
ch=getchar();
}
while(isdigit(ch)){
x=x*10+(ch-'0');
ch=getchar();
}
return x*w;
}

View File

@ -161,4 +161,8 @@ target("P1833")
target("P1855")
set_rundir("day13/P1855")
add_files("day13/P1855/*.cpp")
add_files("day13/P1855/*.cpp")
target("P1049")
set_rundir("day13/P1049")
add_files("day13/P1049/P1049.cpp")