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

@ -118,3 +118,6 @@ ll ksm(ll a,ll b,ll M){
## Day12
>二分图染色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

@ -162,3 +162,7 @@ target("P1833")
target("P1855")
set_rundir("day13/P1855")
add_files("day13/P1855/*.cpp")
target("P1049")
set_rundir("day13/P1049")
add_files("day13/P1049/P1049.cpp")