0117考試總結

2021-07-26 05:20:33 字數 1138 閱讀 7236

今天紫萱學姐出了搞了一套省選模擬題

於是辣雞選手chty120滾粗

第一題是一道費用流的題,剛開始我一直在想網路流的做法,後來發現可以用費用流來做,此時已經過了40分鐘。與此同時cdcq大神一眼看破此題當場學會費用流並a掉此題。

如此就能看出我是多麼的弱了(%%%cdcq大神)

/*************

by chty

2017.01.17

*************/

#include#include#include#include#include#include#includeusing namespace std;

#define file "guess"

#define maxn 100010

#define inf 1000000000

#define up(i,j,n) for(int i=j;i<=n;i++)

#define dn(i,j,n) for(int i=j;i>=n;i--)

namespace init

inline int read()

while(isdigit(ch))

return x*f;

}}using namespace init;

struct nodee[maxn];

int n,cnt,len,s,t,ans,map[1010][1010],idx[maxn],idy[maxn],in[maxn],x[maxn],y[maxn],q[maxn],link[maxn],vis[maxn],dis[maxn],lastnode[maxn],lastedge[maxn];

void insert(int x,int y,int v,int c)

bool spfa()

inline int read()

while(isdigit(ch))

return x*f;

}}using namespace init;

int n,m,in[maxn],vis[maxn],a[maxn],f[maxn];

int main()

} printf("%d\n",f[n+1]);

return 0;

}

2023年寒假假期總結0117

這裡只放出關鍵 完整 上傳至github 在爬取過程中,與上次jsoup不同的是,我們需要從不同的網頁中去爬取網頁,然後使用webmagic的 去實現爬取內容。所以我們需要知道中主 如何跳到職業的具體頁面,然後進行獲取資訊 解析頁面,獲取招聘資訊詳情的url位址 listlist page.geth...

0117程式設計練習

1 100以內能被5或7整除的數,每行5個數的顯示出來。程式 include int main i return 0 注意 每行顯示5個數的方法,即滿足輸出條件5次後輸出換行符。2 e的近似值 e 1 1 1 2!1 n!當1 n!1e 6時,不滿足條件。方法1 include int main p...

考試總結 CQOI2017 考試總結

再奮鬥一年,爭取ak noip2016 cqoi2017 這是去年我立的flag。看考場,電腦挺快,而且配置和評測機一樣,可以放心的在自己的電腦上卡常測試啦,好評。碼了一道fft的題,沒網只好拷著回家交,鍵盤蜜汁小,enter佔據了兩行,旁邊還有關機按鈕。座位安排奧妙重重,和巴蜀dyf大神坐在一起。...